home *** CD-ROM | disk | FTP | other *** search
/ Apple Product Training 1990 October / Apple-Training-October-1990.iso / COPY ME / Home < prev    next >
MacBinary  |  1990-08-26  |  65.5 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Home

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
100% file TTComp archive data, binary, 1K dictionary default (weak)
99% file MacBinary II, inited, Tue Jan 31 14:01:38 1989, modified Sat Aug 25 22:16:34 1990, creator HyperCard, type HyperCard stack, 65536 bytes "Home" , at 0x10080 1335 bytes resource default (weak)
98% file Atari 68xxx CPX file (version ffffffff) default
97% file data default
49% TrID Mac HyperCard stack (MacBinary) default
33% TrID TTComp archive compressed (bin-1K) default (weak)
16% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 04 48 6f 6d 65 00 00 | 00 00 00 00 00 00 00 00 |..Home..|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 00 00 00 | 00 05 37 a0 0b b3 12 a2 |........|..7.....|
|00000060| fc e1 82 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 00 e2 00 00 |........|........|
|00000080| 00 00 64 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..d.STAK|........|
|00000090| 00 00 00 0a 00 01 00 00 | 00 00 64 00 00 00 00 00 |........|..d.....|
|000000a0| 00 00 00 00 00 00 00 03 | 00 00 0a 9d 00 00 00 09 |........|........|
|000000b0| 00 00 0f 4c 00 00 14 b5 | 00 00 00 03 00 00 13 e0 |...L....|........|
|000000c0| 00 00 0b e5 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 22 20 13 02 00 60 21 | 02 00 60 19 02 00 60 55 |." ...`!|..`...`U|
|000000f0| f7 5c d1 d6 00 00 00 00 | 01 08 01 40 02 5e 03 40 |.\......|...@.^.@|
|00000100| 00 00 00 00 03 66 04 80 | 00 00 00 00 00 00 00 00 |.....f..|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 12 c2 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 27 48 44 3a 2e 44 65 76 | 65 6c 6f 70 69 6e 67 20 |'HD:.Dev|eloping |
|00000250| 53 74 61 63 6b 73 3a 48 | 6f 6d 65 20 52 65 67 75 |Stacks:H|ome Regu|
|00000260| 6c 61 72 3a 48 6f 6d 65 | 00 0a 4e d0 4e 56 00 00 |lar:Home|..N.NV..|
|00000270| 48 e7 00 18 26 6e 00 08 | 28 6b 00 08 70 ff 00 1d |H...&n..|(k..p...|
|00000280| 5d fe 00 06 44 92 00 06 | 44 92 01 00 80 10 00 02 |]...D...|D.......|
|00000290| 26 78 00 1d 5e 34 00 06 | 45 54 00 34 01 00 00 00 |&x..^4..|ET.4....|
|000002a0| 00 01 00 1d a6 00 80 10 | ff fc 27 5f ff f8 4c df |........|..'_..L.|
|000002b0| 18 00 4e 5e 80 10 00 02 | 26 78 00 1d 5e 5c 00 06 |..N^....|&x..^\..|
|000002c0| 45 54 00 5c 01 00 00 00 | 00 01 00 1d a6 00 80 10 |ET.\....|........|
|000002d0| ff fc 47 26 01 00 00 00 | 22 1c 00 00 00 00 00 00 |..G&....|".......|
|000002e0| 00 08 00 1d af 92 00 00 | 00 16 00 00 01 18 00 9e |........|........|
|000002f0| 00 1d 5e 84 00 06 47 26 | 00 06 47 26 01 00 80 10 |..^...G&|..G&....|
|00000300| 00 05 a6 c4 00 1d 5e a2 | 00 06 46 c0 00 06 01 00 |......^.|..F.....|
|00000310| 00 1d a6 00 80 10 00 05 | 00 1d 5e 98 00 06 44 92 |........|..^...D.|
|00000320| 00 06 44 92 01 00 80 10 | 00 02 a6 c4 00 1d 5e ca |..D.....|......^.|
|00000330| 00 06 46 c0 00 06 01 00 | 00 1d a6 00 80 10 00 02 |..F.....|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 10 02 40 08 01 20 04 80 |."."."."|..@.. ..|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| ff 3e 1c 00 00 00 c1 e3 | ef df 00 00 00 00 f3 e7 |.>......|........|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 82 05 0a 14 28 50 a0 41 | be 80 a8 58 ab 08 88 80 |....(P.A|...X....|
|00000420| 25 c8 32 89 64 24 4c 92 | 00 ff 00 ff 00 ff 00 ff |%.2.d$L.|........|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| 88 22 88 00 00 00 00 00 | ff 80 80 80 80 80 80 80 |."......|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff ff 40 40 ff ff 08 08 |..".....|..@@....|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 c4 c0 00 00 04 e0 | 00 00 cb a0 00 00 02 00 |........|........|
|00000490| 00 00 f2 e0 00 00 0d 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000690| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006c0| b0 b0 b0 b0 b0 b0 b0 0d | 52 65 67 75 6c 61 72 20 |........|Regular |
|000006d0| 48 6f 6d 65 20 53 74 61 | 63 6b 0d 56 65 72 73 69 |Home Sta|ck.Versi|
|000006e0| 6f 6e 20 46 36 0d a9 43 | 6f 70 79 72 69 67 68 74 |on F6..C|opyright|
|000006f0| 20 31 39 38 39 2c 31 39 | 39 30 20 62 79 20 41 70 | 1989,19|90 by Ap|
|00000700| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00000710| 63 2e 0d 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 |c..All R|ights Re|
|00000720| 73 65 72 76 65 64 0d 0d | 54 48 45 20 4d 45 53 53 |served..|THE MESS|
|00000730| 41 47 45 20 48 41 4e 44 | 4c 45 52 53 20 55 53 45 |AGE HAND|LERS USE|
|00000740| 44 20 49 4e 20 54 48 49 | 53 20 53 43 52 49 50 54 |D IN THI|S SCRIPT|
|00000750| 3a 0d 73 74 61 72 74 55 | 70 2c 67 65 74 48 6f 6d |:.startU|p,getHom|
|00000760| 65 49 6e 66 6f 2c 72 65 | 73 75 6d 65 2c 63 72 65 |eInfo,re|sume,cre|
|00000770| 61 74 65 54 68 65 4d 65 | 6e 75 73 2c 67 6f 48 6f |ateTheMe|nus,goHo|
|00000780| 6d 65 43 61 72 64 73 2c | 68 65 6c 70 0d 68 79 70 |meCards,|help.hyp|
|00000790| 65 72 54 61 6c 6b 2c 6e | 61 76 2c 72 65 74 75 72 |erTalk,n|av,retur|
|000007a0| 6e 4b 65 79 2c 63 2c 62 | 2c 73 2c 68 2c 6d 2c 76 |nKey,c,b|,s,h,m,v|
|000007b0| 2c 78 79 2c 73 65 2c 73 | 73 2c 70 73 2c 64 69 73 |,xy,se,s|s,ps,dis|
|000007c0| 61 6c 6c 6f 77 49 6e 74 | 65 72 72 75 70 74 69 6f |allowInt|erruptio|
|000007d0| 6e 0d 61 6c 6c 6f 77 49 | 6e 74 65 72 72 75 70 74 |n.allowI|nterrupt|
|000007e0| 69 6f 6e 2c 73 65 74 55 | 73 65 72 4c 65 76 65 6c |ion,setU|serLevel|
|000007f0| 46 69 76 65 2c 72 65 73 | 74 6f 72 65 55 73 65 72 |Five,res|toreUser|
|00000800| 4c 65 76 65 6c 2c 73 65 | 61 72 63 68 53 63 72 69 |Level,se|archScri|
|00000810| 70 74 0d 70 72 69 6e 74 | 53 63 72 69 70 74 73 2c |pt.print|Scripts,|
|00000820| 6e 65 77 4c 69 6e 6b 2c | 6d 61 6b 65 4e 65 77 48 |newLink,|makeNewH|
|00000830| 43 42 75 74 74 6f 6e 2c | 64 72 61 67 48 43 42 75 |CButton,|dragHCBu|
|00000840| 74 74 6f 6e 2c 75 70 64 | 61 74 65 48 43 50 61 74 |tton,upd|ateHCPat|
|00000850| 68 73 2c 63 68 65 63 6b | 46 6f 72 4d 69 73 73 69 |hs,check|ForMissi|
|00000860| 6e 67 46 6f 6e 74 73 0d | 0d 54 48 45 20 46 55 4e |ngFonts.|.THE FUN|
|00000870| 43 54 49 4f 4e 20 48 41 | 4e 44 4c 45 52 53 20 55 |CTION HA|NDLERS U|
|00000880| 53 45 44 20 49 4e 20 54 | 48 49 53 20 53 43 52 49 |SED IN T|HIS SCRI|
|00000890| 50 54 3a 0d 6d 61 6b 65 | 50 53 48 65 61 64 65 72 |PT:.make|PSHeader|
|000008a0| 2c 73 65 6c 65 63 74 48 | 43 46 69 6c 65 2c 6c 61 |,selectH|CFile,la|
|000008b0| 73 74 48 43 49 74 65 6d | 2c 67 65 74 48 43 50 61 |stHCItem|,getHCPa|
|000008c0| 74 68 4e 61 6d 65 0d 6d | 65 6d 45 72 72 6f 72 53 |thName.m|emErrorS|
|000008d0| 63 72 69 70 74 2c 77 72 | 69 74 65 48 43 53 63 72 |cript,wr|iteHCScr|
|000008e0| 69 70 74 2c 73 74 72 69 | 6e 67 49 73 49 6e 43 6f |ipt,stri|ngIsInCo|
|000008f0| 6e 74 61 69 6e 65 72 2c | 63 68 65 63 6b 48 43 46 |ntainer,|checkHCF|
|00000900| 6f 6e 74 0d 0d 58 43 4d | 44 27 53 20 55 53 45 44 |ont..XCM|D'S USED|
|00000910| 20 42 59 20 54 48 49 53 | 20 53 43 52 49 50 54 3a | BY THIS| SCRIPT:|
|00000920| 0d 46 6f 6e 74 45 78 69 | 73 74 73 20 58 46 43 4e |.FontExi|sts XFCN|
|00000930| 0d 46 6f 72 6d 3a 20 46 | 6f 6e 74 45 78 69 73 74 |.Form: F|ontExist|
|00000940| 73 28 3c 66 6f 6e 74 20 | 6e 61 6d 65 3e 2c 3c 70 |s(<font |name>,<p|
|00000950| 6f 69 6e 74 20 73 69 7a | 65 3e 29 0d 49 74 20 72 |oint siz|e>).It r|
|00000960| 65 74 75 72 6e 73 20 74 | 72 75 65 20 69 66 20 74 |eturns t|rue if t|
|00000970| 68 65 20 66 6f 6e 74 2f | 70 6f 69 6e 74 20 73 69 |he font/|point si|
|00000980| 7a 65 20 69 73 20 69 6e | 73 74 61 6c 6c 65 64 20 |ze is in|stalled |
|00000990| 6f 72 20 66 61 6c 73 65 | 20 69 66 20 6e 6f 74 2e |or false| if not.|
|000009a0| 0d 46 6f 6e 74 45 78 69 | 74 73 74 20 72 65 74 75 |.FontExi|tst retu|
|000009b0| 72 6e 73 20 22 66 6f 6e | 74 20 6e 6f 74 20 66 6f |rns "fon|t not fo|
|000009c0| 75 6e 64 22 20 69 66 20 | 70 61 73 73 65 64 20 61 |und" if |passed a|
|000009d0| 6e 20 69 6e 76 61 6c 69 | 64 20 66 6f 6e 74 20 6e |n invali|d font n|
|000009e0| 61 6d 65 2e 0d b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |ame.....|........|
|000009f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000a00| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000a10| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000a20| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 0d 0d 2d 2d |........|......--|
|00000a30| 2d 2d 2d 20 20 53 74 61 | 72 74 75 70 2f 52 65 73 |--- Sta|rtup/Res|
|00000a40| 75 6d 65 20 53 63 72 69 | 70 74 73 3a 20 20 2d 2d |ume Scri|pts: --|
|00000a50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000a70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0d 6f 6e 20 |--------|---..on |
|00000a80| 73 74 61 72 74 55 70 0d | 2d 2d 20 52 65 71 75 69 |startUp.|-- Requi|
|00000a90| 72 65 73 20 68 61 6e 64 | 6c 65 72 3a 20 67 65 74 |res hand|ler: get|
|00000aa0| 48 6f 6d 65 49 6e 66 6f | 0d 2d 2d 20 67 65 74 73 |HomeInfo|.-- gets|
|00000ab0| 20 61 6e 64 20 73 65 74 | 73 20 74 68 65 20 75 73 | and set|s the us|
|00000ac0| 65 72 27 73 20 70 72 65 | 66 65 72 65 6e 63 65 73 |er's pre|ferences|
|00000ad0| 0d 67 65 74 48 6f 6d 65 | 49 6e 66 6f 0d 70 61 73 |.getHome|Info.pas|
|00000ae0| 73 20 73 74 61 72 74 55 | 70 20 2d 2d 20 73 6f 20 |s startU|p -- so |
|00000af0| 6f 74 68 65 72 73 20 63 | 61 6e 20 75 73 65 20 69 |others c|an use i|
|00000b00| 74 0d 65 6e 64 20 73 74 | 61 72 74 55 70 0d 0d 6f |t.end st|artUp..o|
|00000b10| 6e 20 67 65 74 48 6f 6d | 65 49 6e 66 6f 0d 2d 2d |n getHom|eInfo.--|
|00000b20| 20 52 65 71 75 69 72 65 | 73 20 68 61 6e 64 6c 65 | Require|s handle|
|00000b30| 72 73 3a 20 64 69 73 61 | 6c 6c 6f 77 49 6e 74 65 |rs: disa|llowInte|
|00000b40| 72 72 75 70 74 69 6f 6e | 2c 61 6c 6c 6f 77 49 6e |rruption|,allowIn|
|00000b50| 74 65 72 72 75 70 74 69 | 6f 6e 0d 2d 2d 20 4e 65 |terrupti|on.-- Ne|
|00000b60| 65 64 73 3a 20 55 73 65 | 72 20 70 72 65 66 65 72 |eds: Use|r prefer|
|00000b70| 65 6e 63 65 73 20 63 61 | 72 64 20 6f 66 20 74 68 |ences ca|rd of th|
|00000b80| 65 20 68 6f 6d 65 20 73 | 74 61 63 6b 0d 2d 2d 20 |e home s|tack.-- |
|00000b90| 63 6f 6e 66 69 67 75 72 | 65 73 20 48 79 70 65 72 |configur|es Hyper|
|00000ba0| 43 61 72 64 20 74 6f 20 | 74 68 65 20 75 73 65 72 |Card to |the user|
|00000bb0| 20 73 70 65 63 69 66 69 | 65 64 20 70 72 65 66 65 | specifi|ed prefe|
|00000bc0| 72 65 6e 63 65 73 0d 2d | 2d 20 54 68 65 20 66 6f |rences.-|- The fo|
|00000bd0| 6c 6c 6f 77 69 6e 67 20 | 33 20 67 6c 6f 62 61 6c |llowing |3 global|
|00000be0| 73 20 61 72 65 20 75 73 | 65 64 20 62 79 20 48 79 |s are us|ed by Hy|
|00000bf0| 70 65 72 43 61 72 64 20 | 66 6f 72 20 6c 6f 63 61 |perCard |for loca|
|00000c00| 74 69 6e 67 0d 2d 2d 20 | 73 74 61 63 6b 73 2c 61 |ting.-- |stacks,a|
|00000c10| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2c 20 61 6e 64 |pplicati|ons, and|
|00000c20| 20 64 6f 63 75 6d 65 6e | 74 73 0d 67 6c 6f 62 61 | documen|ts.globa|
|00000c30| 6c 20 53 74 61 63 6b 73 | 2c 41 70 70 6c 69 63 61 |l Stacks|,Applica|
|00000c40| 74 69 6f 6e 73 2c 44 6f | 63 75 6d 65 6e 74 73 2c |tions,Do|cuments,|
|00000c50| 55 73 65 72 4e 61 6d 65 | 0d 64 69 73 61 6c 6c 6f |UserName|.disallo|
|00000c60| 77 49 6e 74 65 72 72 75 | 70 74 69 6f 6e 0d 69 66 |wInterru|ption.if|
|00000c70| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00000c80| 68 69 73 20 73 74 61 63 | 6b 20 69 73 20 6e 6f 74 |his stac|k is not|
|00000c90| 20 22 48 6f 6d 65 22 20 | 74 68 65 6e 0d 6c 6f 63 | "Home" |then.loc|
|00000ca0| 6b 20 73 63 72 65 65 6e | 0d 73 65 74 20 6c 6f 63 |k screen|.set loc|
|00000cb0| 6b 52 65 63 65 6e 74 20 | 74 6f 20 74 72 75 65 0d |kRecent |to true.|
|00000cc0| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|00000cd0| 20 74 6f 20 74 72 75 65 | 0d 70 75 73 68 20 74 68 | to true|.push th|
|00000ce0| 69 73 20 63 61 72 64 20 | 2d 2d 20 72 65 6d 65 6d |is card |-- remem|
|00000cf0| 62 65 72 20 77 68 65 72 | 65 20 77 65 20 61 72 65 |ber wher|e we are|
|00000d00| 0d 67 6f 20 68 6f 6d 65 | 20 2d 2d 20 77 69 6c 6c |.go home| -- will|
|00000d10| 20 74 61 6b 65 20 75 73 | 20 74 6f 20 74 68 65 20 | take us| to the |
|00000d20| 68 6f 6d 65 20 73 74 61 | 63 6b 20 69 6e 20 63 61 |home sta|ck in ca|
|00000d30| 73 65 20 77 65 27 72 65 | 20 6e 6f 74 20 74 68 65 |se we're| not the|
|00000d40| 72 65 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |re.put f|alse int|
|00000d50| 6f 20 73 74 61 63 6b 49 | 73 48 6f 6d 65 0d 65 6c |o stackI|sHome.el|
|00000d60| 73 65 20 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |se put t|rue into|
|00000d70| 20 73 74 61 63 6b 49 73 | 48 6f 6d 65 0d 70 75 74 | stackIs|Home.put|
|00000d80| 20 28 63 64 20 66 6c 64 | 20 22 55 73 65 72 20 4e | (cd fld| "User N|
|00000d90| 61 6d 65 22 20 6f 66 20 | 63 64 20 22 55 73 65 72 |ame" of |cd "User|
|00000da0| 20 50 72 65 66 65 72 65 | 6e 63 65 73 22 29 20 69 | Prefere|nces") i|
|00000db0| 6e 74 6f 20 55 73 65 72 | 4e 61 6d 65 0d 73 65 74 |nto User|Name.set|
|00000dc0| 20 74 68 65 20 75 73 65 | 72 4c 65 76 65 6c 20 74 | the use|rLevel t|
|00000dd0| 6f 20 63 64 20 66 6c 64 | 20 22 55 73 65 72 20 4c |o cd fld| "User L|
|00000de0| 65 76 65 6c 22 20 6f 66 | 20 63 64 20 22 55 73 65 |evel" of| cd "Use|
|00000df0| 72 20 50 72 65 66 65 72 | 65 6e 63 65 73 22 20 2d |r Prefer|ences" -|
|00000e00| 2d 20 68 69 64 64 65 6e | 20 66 69 65 6c 64 0d 73 |- hidden| field.s|
|00000e10| 65 74 20 74 68 65 20 70 | 6f 77 65 72 4b 65 79 73 |et the p|owerKeys|
|00000e20| 20 74 6f 20 68 69 6c 69 | 74 65 20 6f 66 20 63 64 | to hili|te of cd|
|00000e30| 20 62 74 6e 20 69 64 20 | 33 20 6f 66 20 63 64 20 | btn id |3 of cd |
|00000e40| 22 55 73 65 72 20 50 72 | 65 66 65 72 65 6e 63 65 |"User Pr|eference|
|00000e50| 73 22 20 2d 2d 20 50 6f | 77 65 72 20 4b 65 79 73 |s" -- Po|wer Keys|
|00000e60| 0d 73 65 74 20 74 68 65 | 20 74 65 78 74 41 72 72 |.set the| textArr|
|00000e70| 6f 77 73 20 74 6f 20 68 | 69 6c 69 74 65 20 6f 66 |ows to h|ilite of|
|00000e80| 20 63 64 20 62 74 6e 20 | 69 64 20 32 20 6f 66 20 | cd btn |id 2 of |
|00000e90| 63 64 20 22 55 73 65 72 | 20 50 72 65 66 65 72 65 |cd "User| Prefere|
|00000ea0| 6e 63 65 73 22 20 2d 2d | 20 41 72 72 6f 77 20 6b |nces" --| Arrow k|
|00000eb0| 65 79 73 20 69 6e 20 74 | 65 78 74 0d 73 65 74 20 |eys in t|ext.set |
|00000ec0| 74 68 65 20 62 6c 69 6e | 64 54 79 70 69 6e 67 20 |the blin|dTyping |
|00000ed0| 74 6f 20 68 69 6c 69 74 | 65 20 6f 66 20 63 64 20 |to hilit|e of cd |
|00000ee0| 62 74 6e 20 69 64 20 31 | 20 6f 66 20 63 64 20 22 |btn id 1| of cd "|
|00000ef0| 55 73 65 72 20 50 72 65 | 66 65 72 65 6e 63 65 73 |User Pre|ferences|
|00000f00| 22 20 2d 2d 20 42 6c 69 | 6e 64 20 54 79 70 69 6e |" -- Bli|nd Typin|
|00000f10| 67 0d 2d 2d 20 6c 6f 61 | 64 20 74 68 65 20 73 65 |g.-- loa|d the se|
|00000f20| 61 72 63 68 20 70 61 74 | 68 20 67 6c 6f 62 61 6c |arch pat|h global|
|00000f30| 73 0d 70 75 74 20 62 67 | 20 66 6c 64 20 22 50 61 |s.put bg| fld "Pa|
|00000f40| 74 68 73 22 20 6f 66 20 | 63 64 20 22 53 74 61 63 |ths" of |cd "Stac|
|00000f50| 6b 73 22 20 69 6e 74 6f | 20 53 74 61 63 6b 73 0d |ks" into| Stacks.|
|00000f60| 70 75 74 20 62 67 20 66 | 6c 64 20 22 50 61 74 68 |put bg f|ld "Path|
|00000f70| 73 22 20 6f 66 20 63 64 | 20 22 41 70 70 6c 69 63 |s" of cd| "Applic|
|00000f80| 61 74 69 6f 6e 73 22 20 | 69 6e 74 6f 20 41 70 70 |ations" |into App|
|00000f90| 6c 69 63 61 74 69 6f 6e | 73 0d 70 75 74 20 62 67 |lication|s.put bg|
|00000fa0| 20 66 6c 64 20 22 50 61 | 74 68 73 22 20 6f 66 20 | fld "Pa|ths" of |
|00000fb0| 63 64 20 22 44 6f 63 75 | 6d 65 6e 74 73 22 20 69 |cd "Docu|ments" i|
|00000fc0| 6e 74 6f 20 44 6f 63 75 | 6d 65 6e 74 73 0d 69 66 |nto Docu|ments.if|
|00000fd0| 20 6e 6f 74 20 73 74 61 | 63 6b 49 73 48 6f 6d 65 | not sta|ckIsHome|
|00000fe0| 20 74 68 65 6e 0d 70 6f | 70 20 63 61 72 64 20 2d | then.po|p card -|
|00000ff0| 2d 20 72 65 74 75 72 6e | 20 74 6f 20 77 68 65 72 |- return| to wher|
|00001000| 65 20 77 65 20 77 65 72 | 65 0d 73 65 74 20 6c 6f |e we wer|e.set lo|
|00001010| 63 6b 52 65 63 65 6e 74 | 20 74 6f 20 66 61 6c 73 |ckRecent| to fals|
|00001020| 65 20 2d 2d 20 63 6c 65 | 61 6e 20 75 70 20 66 6f |e -- cle|an up fo|
|00001030| 72 20 65 78 69 74 0d 73 | 65 74 20 6c 6f 63 6b 4d |r exit.s|et lockM|
|00001040| 65 73 73 61 67 65 73 20 | 74 6f 20 66 61 6c 73 65 |essages |to false|
|00001050| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 65 |.unlock |screen.e|
|00001060| 6e 64 20 69 66 0d 61 6c | 6c 6f 77 49 6e 74 65 72 |nd if.al|lowInter|
|00001070| 72 75 70 74 69 6f 6e 0d | 65 6e 64 20 67 65 74 48 |ruption.|end getH|
|00001080| 6f 6d 65 49 6e 66 6f 0d | 0d 6f 6e 20 72 65 73 75 |omeInfo.|.on resu|
|00001090| 6d 65 0d 2d 2d 20 52 65 | 71 75 69 72 65 73 20 68 |me.-- Re|quires h|
|000010a0| 61 6e 64 6c 65 72 3a 20 | 67 65 74 48 6f 6d 65 49 |andler: |getHomeI|
|000010b0| 6e 66 6f 0d 2d 2d 20 67 | 65 74 73 20 61 6e 64 20 |nfo.-- g|ets and |
|000010c0| 73 65 74 73 20 75 73 65 | 72 20 70 72 65 66 65 72 |sets use|r prefer|
|000010d0| 65 6e 63 65 73 20 75 70 | 6f 6e 20 72 65 74 75 72 |ences up|on retur|
|000010e0| 6e 69 6e 67 0d 67 65 74 | 48 6f 6d 65 49 6e 66 6f |ning.get|HomeInfo|
|000010f0| 0d 70 61 73 73 20 72 65 | 73 75 6d 65 20 2d 2d 20 |.pass re|sume -- |
|00001100| 73 6f 20 6f 74 68 65 72 | 73 20 63 61 6e 20 75 73 |so other|s can us|
|00001110| 65 20 69 74 0d 65 6e 64 | 20 72 65 73 75 6d 65 0d |e it.end| resume.|
|00001120| 0d 2d 2d 2d 2d 2d 20 20 | 4d 65 6e 75 20 53 63 72 |.----- |Menu Scr|
|00001130| 69 70 74 3a 20 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ipt: --|--------|
|00001140| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001150| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001160| 2d 2d 2d 0d 0d 6f 6e 20 | 63 72 65 61 74 65 54 68 |---..on |createTh|
|00001170| 65 4d 65 6e 75 73 20 72 | 65 73 75 6d 69 6e 67 0d |eMenus r|esuming.|
|00001180| 2d 2d 20 c6 20 63 72 65 | 61 74 65 73 20 74 68 65 |-- . cre|ates the|
|00001190| 20 22 48 6f 6d 65 22 20 | 6d 65 6e 75 20 2d 20 63 | "Home" |menu - c|
|000011a0| 61 6c 6c 65 64 20 66 72 | 6f 6d 20 74 68 65 20 62 |alled fr|om the b|
|000011b0| 6b 67 6e 64 73 20 6f 66 | 20 74 68 69 73 20 73 74 |kgnds of| this st|
|000011c0| 61 63 6b 0d 69 66 20 72 | 65 73 75 6d 69 6e 67 20 |ack.if r|esuming |
|000011d0| 69 73 20 22 74 72 75 65 | 22 20 61 6e 64 20 22 48 |is "true|" and "H|
|000011e0| 6f 6d 65 22 20 69 73 20 | 69 6e 20 74 68 65 20 6d |ome" is |in the m|
|000011f0| 65 6e 75 73 0d 74 68 65 | 6e 20 64 65 6c 65 74 65 |enus.the|n delete|
|00001200| 20 6d 65 6e 75 20 22 48 | 6f 6d 65 22 20 2d 2d 20 | menu "H|ome" -- |
|00001210| 6e 6f 74 20 6f 75 72 20 | 68 6f 6d 65 20 6d 65 6e |not our |home men|
|00001220| 75 0d 69 66 20 22 48 6f | 6d 65 22 20 69 73 20 69 |u.if "Ho|me" is i|
|00001230| 6e 20 74 68 65 20 6d 65 | 6e 75 73 20 74 68 65 6e |n the me|nus then|
|00001240| 20 65 78 69 74 20 63 72 | 65 61 74 65 54 68 65 4d | exit cr|eateTheM|
|00001250| 65 6e 75 73 0d 73 68 6f | 77 20 6d 65 6e 75 42 61 |enus.sho|w menuBa|
|00001260| 72 20 2d 2d 20 6e 65 65 | 64 65 64 20 62 79 20 74 |r -- nee|ded by t|
|00001270| 68 65 20 22 48 6f 6d 65 | 22 20 6d 65 6e 75 0d 63 |he "Home|" menu.c|
|00001280| 72 65 61 74 65 20 6d 65 | 6e 75 20 22 48 6f 6d 65 |reate me|nu "Home|
|00001290| 22 0d 70 75 74 20 68 6f | 6d 65 4d 65 6e 75 49 74 |".put ho|meMenuIt|
|000012a0| 65 6d 73 28 29 20 69 6e | 74 6f 20 6d 65 6e 75 20 |ems() in|to menu |
|000012b0| 22 48 6f 6d 65 22 20 77 | 69 74 68 20 6d 65 6e 75 |"Home" w|ith menu|
|000012c0| 4d 73 67 73 20 68 6f 6d | 65 4d 65 6e 75 4d 73 67 |Msgs hom|eMenuMsg|
|000012d0| 73 28 29 0d 65 6e 64 20 | 63 72 65 61 74 65 54 68 |s().end |createTh|
|000012e0| 65 4d 65 6e 75 73 0d 0d | 66 75 6e 63 74 69 6f 6e |eMenus..|function|
|000012f0| 20 68 6f 6d 65 4d 65 6e | 75 49 74 65 6d 73 0d 72 | homeMen|uItems.r|
|00001300| 65 74 75 72 6e 20 22 4e | 65 77 20 4c 69 6e 6b 20 |eturn "N|ew Link |
|00001310| 74 6f 20 53 74 61 63 6b | 2e 2e 2e 2c 4e 65 77 20 |to Stack|...,New |
|00001320| 4c 69 6e 6b 20 74 6f 20 | 41 70 70 6c 69 63 61 74 |Link to |Applicat|
|00001330| 69 6f 6e 2e 2e 2e 2c 22 | 20 26 20 c2 0d 22 4e 65 |ion...,"| & .."Ne|
|00001340| 77 20 4c 69 6e 6b 20 74 | 6f 20 44 6f 63 75 6d 65 |w Link t|o Docume|
|00001350| 6e 74 2e 2e 2e 2c 2d 2c | 52 65 6e 61 6d 65 20 54 |nt...,-,|Rename T|
|00001360| 68 69 73 20 43 61 72 64 | 2e 2e 2e 2c 52 65 6f 72 |his Card|...,Reor|
|00001370| 64 65 72 20 43 61 72 64 | 73 2e 2e 2e 2c 22 20 26 |der Card|s...," &|
|00001380| 20 c2 0d 22 2d 2c 48 6f | 6d 65 20 43 61 72 64 73 | .."-,Ho|me Cards|
|00001390| 2c 50 72 65 66 65 72 65 | 6e 63 65 73 2c 53 65 61 |,Prefere|nces,Sea|
|000013a0| 72 63 68 20 50 61 74 68 | 73 22 0d 65 6e 64 20 68 |rch Path|s".end h|
|000013b0| 6f 6d 65 4d 65 6e 75 49 | 74 65 6d 73 0d 0d 66 75 |omeMenuI|tems..fu|
|000013c0| 6e 63 74 69 6f 6e 20 68 | 6f 6d 65 4d 65 6e 75 4d |nction h|omeMenuM|
|000013d0| 73 67 73 0d 72 65 74 75 | 72 6e 20 22 4e 65 77 4c |sgs.retu|rn "NewL|
|000013e0| 69 6e 6b 20 73 74 61 63 | 6b 2c 4e 65 77 4c 69 6e |ink stac|k,NewLin|
|000013f0| 6b 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 4e 65 |k applic|ation,Ne|
|00001400| 77 4c 69 6e 6b 20 64 6f | 63 75 6d 65 6e 74 2c 65 |wLink do|cument,e|
|00001410| 6d 70 74 79 2c 22 20 26 | 20 c2 0d 22 52 65 6e 61 |mpty," &| .."Rena|
|00001420| 6d 65 43 61 72 64 2c 52 | 65 6f 72 64 65 72 43 61 |meCard,R|eorderCa|
|00001430| 72 64 73 2c 65 6d 70 74 | 79 2c 67 6f 48 6f 6d 65 |rds,empt|y,goHome|
|00001440| 43 61 72 64 73 2c 67 6f | 20 63 61 72 64 22 20 26 |Cards,go| card" &|
|00001450| 26 20 71 75 6f 74 65 20 | 26 20 22 55 73 65 72 20 |& quote |& "User |
|00001460| 50 72 65 66 65 72 65 6e | 63 65 73 22 20 26 20 c2 |Preferen|ces" & .|
|00001470| 0d 71 75 6f 74 65 20 26 | 20 22 2c 67 6f 20 63 61 |.quote &| ",go ca|
|00001480| 72 64 22 20 26 26 20 71 | 75 6f 74 65 20 26 20 22 |rd" && q|uote & "|
|00001490| 53 74 61 63 6b 73 22 20 | 26 20 71 75 6f 74 65 0d |Stacks" |& quote.|
|000014a0| 65 6e 64 20 68 6f 6d 65 | 4d 65 6e 75 4d 73 67 73 |end home|MenuMsgs|
|000014b0| 0d 0d 6f 6e 20 67 6f 48 | 6f 6d 65 43 61 72 64 73 |..on goH|omeCards|
|000014c0| 0d 2d 2d 20 67 6f 20 74 | 6f 20 6c 61 73 74 20 68 |.-- go t|o last h|
|000014d0| 6f 6d 65 20 63 61 72 64 | 20 76 69 65 77 65 64 0d |ome card| viewed.|
|000014e0| 67 6c 6f 62 61 6c 20 57 | 68 69 63 68 48 6f 6d 65 |global W|hichHome|
|000014f0| 43 61 72 64 0d 69 66 20 | 57 68 69 63 68 48 6f 6d |Card.if |WhichHom|
|00001500| 65 43 61 72 64 20 69 73 | 20 65 6d 70 74 79 0d 74 |eCard is| empty.t|
|00001510| 68 65 6e 20 70 75 74 20 | 28 73 68 6f 72 74 20 6e |hen put |(short n|
|00001520| 61 6d 65 20 6f 66 20 66 | 69 72 73 74 20 63 61 72 |ame of f|irst car|
|00001530| 64 29 20 69 6e 74 6f 20 | 77 68 69 63 68 48 6f 6d |d) into |whichHom|
|00001540| 65 43 61 72 64 0d 67 6f | 20 63 61 72 64 20 57 68 |eCard.go| card Wh|
|00001550| 69 63 68 48 6f 6d 65 43 | 61 72 64 0d 2d 2d 20 63 |ichHomeC|ard.-- c|
|00001560| 6f 75 6c 64 6e 27 74 20 | 66 69 6e 64 20 72 65 71 |ouldn't |find req|
|00001570| 75 65 73 74 65 64 20 63 | 61 72 64 0d 69 66 20 74 |uested c|ard.if t|
|00001580| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|00001590| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 67 6f 20 66 | empty t|hen go f|
|000015a0| 69 72 73 74 20 63 61 72 | 64 20 6f 66 20 62 67 20 |irst car|d of bg |
|000015b0| 22 48 6f 6d 65 20 43 61 | 72 64 73 22 0d 65 6e 64 |"Home Ca|rds".end|
|000015c0| 20 67 6f 48 6f 6d 65 43 | 61 72 64 73 0d 0d 2d 2d | goHomeC|ards..--|
|000015d0| 2d 2d 2d 20 20 48 65 6c | 70 20 53 63 72 69 70 74 |--- Hel|p Script|
|000015e0| 73 3a 20 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |s: ----|--------|
|000015f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001600| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001610| 2d 0d 0d 6f 6e 20 68 65 | 6c 70 20 74 68 65 49 74 |-..on he|lp theIt|
|00001620| 65 6d 0d 2d 2d 20 74 79 | 70 69 6e 67 20 22 68 65 |em.-- ty|ping "he|
|00001630| 6c 70 20 3c 74 6f 70 69 | 63 3e 22 20 69 6e 74 6f |lp <topi|c>" into|
|00001640| 20 6d 65 73 73 61 67 65 | 20 62 6f 78 20 77 69 6c | message| box wil|
|00001650| 6c 20 6c 6f 63 61 74 65 | 0d 2d 2d 20 3c 74 6f 70 |l locate|.-- <top|
|00001660| 69 63 3e 20 69 6e 20 74 | 68 65 20 22 48 79 70 65 |ic> in t|he "Hype|
|00001670| 72 43 61 72 64 20 48 65 | 6c 70 22 20 73 74 61 63 |rCard He|lp" stac|
|00001680| 6b 0d 67 6f 20 74 6f 20 | 73 74 61 63 6b 20 22 48 |k.go to |stack "H|
|00001690| 79 70 65 72 43 61 72 64 | 20 48 65 6c 70 22 20 69 |yperCard| Help" i|
|000016a0| 6e 20 61 20 6e 65 77 20 | 77 69 6e 64 6f 77 20 2d |n a new |window -|
|000016b0| 2d 20 74 72 79 20 6e 65 | 77 20 77 69 6e 64 20 66 |- try ne|w wind f|
|000016c0| 69 72 73 74 0d 69 66 20 | 74 68 65 20 72 65 73 75 |irst.if |the resu|
|000016d0| 6c 74 20 3c 3e 20 65 6d | 70 74 79 20 74 68 65 6e |lt <> em|pty then|
|000016e0| 20 67 6f 20 74 6f 20 73 | 74 61 63 6b 20 22 48 79 | go to s|tack "Hy|
|000016f0| 70 65 72 43 61 72 64 20 | 48 65 6c 70 22 0d 69 66 |perCard |Help".if|
|00001700| 20 74 68 65 49 74 65 6d | 20 69 73 20 6e 6f 74 20 | theItem| is not |
|00001710| 65 6d 70 74 79 20 74 68 | 65 6e 0d 74 79 70 65 20 |empty th|en.type |
|00001720| 22 66 69 6e 64 22 20 26 | 26 20 71 75 6f 74 65 20 |"find" &|& quote |
|00001730| 26 20 74 68 65 49 74 65 | 6d 20 26 20 71 75 6f 74 |& theIte|m & quot|
|00001740| 65 20 26 26 20 22 69 6e | 20 66 6c 64 22 20 26 26 |e && "in| fld" &&|
|00001750| 20 71 75 6f 74 65 20 26 | 20 c2 0d 22 74 69 74 6c | quote &| .."titl|
|00001760| 65 22 20 26 20 71 75 6f | 74 65 0d 74 79 70 65 20 |e" & quo|te.type |
|00001770| 72 65 74 75 72 6e 0d 65 | 6e 64 20 69 66 0d 65 6e |return.e|nd if.en|
|00001780| 64 20 68 65 6c 70 0d 0d | 6f 6e 20 68 79 70 65 72 |d help..|on hyper|
|00001790| 54 61 6c 6b 20 74 68 65 | 49 74 65 6d 0d 2d 2d 20 |Talk the|Item.-- |
|000017a0| 74 79 70 69 6e 67 20 22 | 68 79 70 65 72 54 61 6c |typing "|hyperTal|
|000017b0| 6b 20 3c 74 6f 70 69 63 | 3e 22 20 69 6e 74 6f 20 |k <topic|>" into |
|000017c0| 6d 65 73 73 61 67 65 20 | 62 6f 78 20 77 69 6c 6c |message |box will|
|000017d0| 20 6c 6f 63 61 74 65 0d | 2d 2d 20 3c 74 6f 70 69 | locate.|-- <topi|
|000017e0| 63 3e 20 69 6e 20 74 68 | 65 20 22 48 79 70 65 72 |c> in th|e "Hyper|
|000017f0| 54 61 6c 6b 20 52 65 66 | 65 72 65 6e 63 65 22 20 |Talk Ref|erence" |
|00001800| 73 74 61 63 6b 0d 67 6f | 20 74 6f 20 73 74 61 63 |stack.go| to stac|
|00001810| 6b 20 22 48 79 70 65 72 | 54 61 6c 6b 20 52 65 66 |k "Hyper|Talk Ref|
|00001820| 65 72 65 6e 63 65 22 20 | 69 6e 20 61 20 6e 65 77 |erence" |in a new|
|00001830| 20 77 69 6e 64 6f 77 20 | 2d 2d 20 74 72 79 20 6e | window |-- try n|
|00001840| 65 77 20 77 69 6e 64 20 | 66 69 72 73 74 0d 69 66 |ew wind |first.if|
|00001850| 20 74 68 65 20 72 65 73 | 75 6c 74 20 3c 3e 20 65 | the res|ult <> e|
|00001860| 6d 70 74 79 20 74 68 65 | 6e 20 67 6f 20 74 6f 20 |mpty the|n go to |
|00001870| 73 74 61 63 6b 20 22 48 | 79 70 65 72 54 61 6c 6b |stack "H|yperTalk|
|00001880| 20 52 65 66 65 72 65 6e | 63 65 22 0d 69 66 20 74 | Referen|ce".if t|
|00001890| 68 65 49 74 65 6d 20 69 | 73 20 6e 6f 74 20 65 6d |heItem i|s not em|
|000018a0| 70 74 79 20 74 68 65 6e | 0d 74 79 70 65 20 22 66 |pty then|.type "f|
|000018b0| 69 6e 64 22 20 26 26 20 | 71 75 6f 74 65 20 26 20 |ind" && |quote & |
|000018c0| 74 68 65 49 74 65 6d 20 | 26 20 71 75 6f 74 65 20 |theItem |& quote |
|000018d0| 26 26 20 22 69 6e 20 66 | 6c 64 22 20 26 26 20 71 |&& "in f|ld" && q|
|000018e0| 75 6f 74 65 20 26 20 c2 | 0d 22 74 69 74 6c 65 22 |uote & .|."title"|
|000018f0| 20 26 20 71 75 6f 74 65 | 0d 74 79 70 65 20 72 65 | & quote|.type re|
|00001900| 74 75 72 6e 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |turn.end| if.end |
|00001910| 68 79 70 65 72 54 61 6c | 6b 0d 0d 2d 2d 2d 2d 2d |hyperTal|k..-----|
|00001920| 20 20 55 74 69 6c 69 74 | 79 20 53 63 72 69 70 74 | Utilit|y Script|
|00001930| 73 3a 20 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |s: ----|--------|
|00001940| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001950| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001960| 2d 0d 0d 6f 6e 20 6e 61 | 76 0d 2d 2d 20 52 65 71 |-..on na|v.-- Req|
|00001970| 75 69 72 65 73 20 58 43 | 4d 44 3a 20 70 61 6c 65 |uires XC|MD: pale|
|00001980| 74 74 65 20 22 4e 61 76 | 69 67 61 74 6f 72 22 0d |tte "Nav|igator".|
|00001990| 2d 2d 20 c6 20 74 79 70 | 65 20 22 6e 61 76 22 20 |-- . typ|e "nav" |
|000019a0| 69 6e 74 6f 20 6d 65 73 | 73 61 67 65 20 62 6f 78 |into mes|sage box|
|000019b0| 20 74 6f 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 | to disp|lay the |
|000019c0| 4e 61 76 69 67 61 74 6f | 72 20 70 61 6c 65 74 74 |Navigato|r palett|
|000019d0| 65 0d 70 61 6c 65 74 74 | 65 20 22 4e 61 76 69 67 |e.palett|e "Navig|
|000019e0| 61 74 6f 72 22 0d 65 6e | 64 20 6e 61 76 0d 0d 6f |ator".en|d nav..o|
|000019f0| 6e 20 72 65 74 75 72 6e | 4b 65 79 0d 2d 2d 20 c6 |n return|Key.-- .|
|00001a00| 20 74 79 70 65 20 6f 70 | 74 69 6f 6e 2d 72 65 74 | type op|tion-ret|
|00001a10| 75 72 6e 20 74 6f 20 70 | 75 74 20 6c 61 73 74 20 |urn to p|ut last |
|00001a20| 74 68 69 6e 67 20 74 79 | 70 65 64 20 62 61 63 6b |thing ty|ped back|
|00001a30| 20 69 6e 74 6f 20 6d 73 | 67 20 62 6f 78 0d 67 6c | into ms|g box.gl|
|00001a40| 6f 62 61 6c 20 4d 79 4c | 61 73 74 4d 65 73 73 61 |obal MyL|astMessa|
|00001a50| 67 65 0d 69 66 20 74 68 | 65 20 6f 70 74 69 6f 6e |ge.if th|e option|
|00001a60| 4b 65 79 20 69 73 20 64 | 6f 77 6e 20 74 68 65 6e |Key is d|own then|
|00001a70| 20 70 75 74 20 4d 79 4c | 61 73 74 4d 65 73 73 61 | put MyL|astMessa|
|00001a80| 67 65 20 69 6e 74 6f 20 | 6d 73 67 0d 65 6c 73 65 |ge into |msg.else|
|00001a90| 0d 70 75 74 20 6d 73 67 | 20 62 6f 78 20 69 6e 74 |.put msg| box int|
|00001aa0| 6f 20 4d 79 4c 61 73 74 | 4d 65 73 73 61 67 65 0d |o MyLast|Message.|
|00001ab0| 70 61 73 73 20 72 65 74 | 75 72 6e 4b 65 79 20 2d |pass ret|urnKey -|
|00001ac0| 2d 20 73 6f 20 6f 74 68 | 65 72 73 20 63 61 6e 20 |- so oth|ers can |
|00001ad0| 75 73 65 20 69 74 0d 65 | 6e 64 20 69 66 0d 73 65 |use it.e|nd if.se|
|00001ae0| 6c 65 63 74 20 61 66 74 | 65 72 20 74 65 78 74 20 |lect aft|er text |
|00001af0| 6f 66 20 6d 73 67 20 2d | 2d 20 72 65 70 6c 61 63 |of msg -|- replac|
|00001b00| 65 20 74 68 65 20 69 6e | 73 65 72 74 69 6f 6e 20 |e the in|sertion |
|00001b10| 70 6f 69 6e 74 0d 65 6e | 64 20 72 65 74 75 72 6e |point.en|d return|
|00001b20| 4b 65 79 0d 0d 6f 6e 20 | 63 0d 2d 2d 20 52 65 71 |Key..on |c.-- Req|
|00001b30| 75 69 72 65 73 20 68 61 | 6e 64 6c 65 72 73 3a 20 |uires ha|ndlers: |
|00001b40| 73 65 74 55 73 65 72 4c | 65 76 65 6c 46 69 76 65 |setUserL|evelFive|
|00001b50| 2c 72 65 73 74 6f 72 65 | 55 73 65 72 4c 65 76 65 |,restore|UserLeve|
|00001b60| 6c 0d 2d 2d 20 c6 20 74 | 79 70 65 20 22 63 22 20 |l.-- . t|ype "c" |
|00001b70| 69 6e 74 6f 20 6d 65 73 | 73 61 67 65 20 62 6f 78 |into mes|sage box|
|00001b80| 20 74 6f 20 64 69 73 70 | 6c 61 79 20 63 61 72 64 | to disp|lay card|
|00001b90| 20 69 6e 66 6f 20 64 69 | 61 6c 6f 67 0d 70 75 74 | info di|alog.put|
|00001ba0| 20 74 68 65 20 74 6f 6f | 6c 20 69 6e 74 6f 20 73 | the too|l into s|
|00001bb0| 61 76 65 54 6f 6f 6c 0d | 63 68 6f 6f 73 65 20 62 |aveTool.|choose b|
|00001bc0| 72 6f 77 73 65 20 74 6f | 6f 6c 0d 73 65 74 55 73 |rowse to|ol.setUs|
|00001bd0| 65 72 4c 65 76 65 6c 46 | 69 76 65 20 2d 2d 20 73 |erLevelF|ive -- s|
|00001be0| 6f 20 74 68 65 20 6d 65 | 6e 75 20 69 74 65 6d 20 |o the me|nu item |
|00001bf0| 77 69 6c 6c 20 62 65 20 | 74 68 65 72 65 0d 64 6f |will be |there.do|
|00001c00| 4d 65 6e 75 20 22 43 61 | 72 64 20 49 6e 66 6f 2e |Menu "Ca|rd Info.|
|00001c10| 2e 2e 22 0d 72 65 73 74 | 6f 72 65 55 73 65 72 4c |..".rest|oreUserL|
|00001c20| 65 76 65 6c 0d 63 68 6f | 6f 73 65 20 73 61 76 65 |evel.cho|ose save|
|00001c30| 54 6f 6f 6c 0d 65 6e 64 | 20 63 0d 0d 6f 6e 20 62 |Tool.end| c..on b|
|00001c40| 0d 2d 2d 20 52 65 71 75 | 69 72 65 73 20 68 61 6e |.-- Requ|ires han|
|00001c50| 64 6c 65 72 73 3a 20 73 | 65 74 55 73 65 72 4c 65 |dlers: s|etUserLe|
|00001c60| 76 65 6c 46 69 76 65 2c | 72 65 73 74 6f 72 65 55 |velFive,|restoreU|
|00001c70| 73 65 72 4c 65 76 65 6c | 0d 2d 2d 20 c6 20 74 79 |serLevel|.-- . ty|
|00001c80| 70 65 20 22 62 22 20 69 | 6e 74 6f 20 6d 65 73 73 |pe "b" i|nto mess|
|00001c90| 61 67 65 20 62 6f 78 20 | 74 6f 20 64 69 73 70 6c |age box |to displ|
|00001ca0| 61 79 20 62 6b 67 6e 64 | 20 69 6e 66 6f 20 64 69 |ay bkgnd| info di|
|00001cb0| 61 6c 6f 67 0d 70 75 74 | 20 74 68 65 20 74 6f 6f |alog.put| the too|
|00001cc0| 6c 20 69 6e 74 6f 20 73 | 61 76 65 54 6f 6f 6c 0d |l into s|aveTool.|
|00001cd0| 63 68 6f 6f 73 65 20 62 | 72 6f 77 73 65 20 74 6f |choose b|rowse to|
|00001ce0| 6f 6c 0d 73 65 74 55 73 | 65 72 4c 65 76 65 6c 46 |ol.setUs|erLevelF|
|00001cf0| 69 76 65 20 2d 2d 20 73 | 6f 20 74 68 65 20 6d 65 |ive -- s|o the me|
|00001d00| 6e 75 20 69 74 65 6d 20 | 77 69 6c 6c 20 62 65 20 |nu item |will be |
|00001d10| 74 68 65 72 65 0d 64 6f | 4d 65 6e 75 20 22 42 6b |there.do|Menu "Bk|
|00001d20| 67 6e 64 20 49 6e 66 6f | 2e 2e 2e 22 0d 72 65 73 |gnd Info|...".res|
|00001d30| 74 6f 72 65 55 73 65 72 | 4c 65 76 65 6c 0d 63 68 |toreUser|Level.ch|
|00001d40| 6f 6f 73 65 20 73 61 76 | 65 54 6f 6f 6c 0d 65 6e |oose sav|eTool.en|
|00001d50| 64 20 62 0d 0d 6f 6e 20 | 73 0d 2d 2d 20 52 65 71 |d b..on |s.-- Req|
|00001d60| 75 69 72 65 73 20 68 61 | 6e 64 6c 65 72 73 3a 20 |uires ha|ndlers: |
|00001d70| 73 65 74 55 73 65 72 4c | 65 76 65 6c 46 69 76 65 |setUserL|evelFive|
|00001d80| 2c 72 65 73 74 6f 72 65 | 55 73 65 72 4c 65 76 65 |,restore|UserLeve|
|00001d90| 6c 0d 2d 2d 20 c6 20 74 | 79 70 65 20 22 73 22 20 |l.-- . t|ype "s" |
|00001da0| 69 6e 74 6f 20 6d 65 73 | 73 61 67 65 20 62 6f 78 |into mes|sage box|
|00001db0| 20 74 6f 20 64 69 73 70 | 6c 61 79 20 73 74 61 63 | to disp|lay stac|
|00001dc0| 6b 20 69 6e 66 6f 20 64 | 69 61 6c 6f 67 0d 70 75 |k info d|ialog.pu|
|00001dd0| 74 20 74 68 65 20 74 6f | 6f 6c 20 69 6e 74 6f 20 |t the to|ol into |
|00001de0| 73 61 76 65 54 6f 6f 6c | 0d 63 68 6f 6f 73 65 20 |saveTool|.choose |
|00001df0| 62 72 6f 77 73 65 20 74 | 6f 6f 6c 0d 73 65 74 55 |browse t|ool.setU|
|00001e00| 73 65 72 4c 65 76 65 6c | 46 69 76 65 20 2d 2d 20 |serLevel|Five -- |
|00001e10| 73 6f 20 74 68 65 20 6d | 65 6e 75 20 69 74 65 6d |so the m|enu item|
|00001e20| 20 77 69 6c 6c 20 62 65 | 20 74 68 65 72 65 0d 64 | will be| there.d|
|00001e30| 6f 4d 65 6e 75 20 22 53 | 74 61 63 6b 20 49 6e 66 |oMenu "S|tack Inf|
|00001e40| 6f 2e 2e 2e 22 0d 72 65 | 73 74 6f 72 65 55 73 65 |o...".re|storeUse|
|00001e50| 72 4c 65 76 65 6c 0d 63 | 68 6f 6f 73 65 20 73 61 |rLevel.c|hoose sa|
|00001e60| 76 65 54 6f 6f 6c 0d 65 | 6e 64 20 73 0d 0d 6f 6e |veTool.e|nd s..on|
|00001e70| 20 6d 77 0d 2d 2d 20 52 | 65 71 75 69 72 65 73 20 | mw.-- R|equires |
|00001e80| 58 57 69 6e 64 6f 77 3a | 20 4d 65 73 73 61 67 65 |XWindow:| Message|
|00001e90| 20 57 61 74 63 68 65 72 | 0d 2d 2d 20 c6 20 74 79 | Watcher|.-- . ty|
|00001ea0| 70 65 20 22 6d 77 22 20 | 69 6e 74 6f 20 6d 65 73 |pe "mw" |into mes|
|00001eb0| 73 61 67 65 20 62 6f 78 | 20 74 6f 20 64 69 73 70 |sage box| to disp|
|00001ec0| 6c 61 79 20 74 68 65 20 | 4d 65 73 73 61 67 65 20 |lay the |Message |
|00001ed0| 57 61 74 63 68 65 72 0d | 73 68 6f 77 20 77 69 6e |Watcher.|show win|
|00001ee0| 64 6f 77 20 22 4d 65 73 | 73 61 67 65 20 57 61 74 |dow "Mes|sage Wat|
|00001ef0| 63 68 65 72 22 0d 65 6e | 64 20 6d 77 0d 0d 6f 6e |cher".en|d mw..on|
|00001f00| 20 76 77 0d 2d 2d 20 52 | 65 71 75 69 72 65 73 20 | vw.-- R|equires |
|00001f10| 58 57 69 6e 64 6f 77 3a | 20 56 61 72 69 61 62 6c |XWindow:| Variabl|
|00001f20| 65 20 57 61 74 63 68 65 | 72 0d 2d 2d 20 c6 20 74 |e Watche|r.-- . t|
|00001f30| 79 70 65 20 22 76 77 22 | 20 69 6e 74 6f 20 6d 65 |ype "vw"| into me|
|00001f40| 73 73 61 67 65 20 62 6f | 78 20 74 6f 20 64 69 73 |ssage bo|x to dis|
|00001f50| 70 6c 61 79 20 74 68 65 | 20 56 61 72 69 61 62 6c |play the| Variabl|
|00001f60| 65 20 57 61 74 63 68 65 | 72 0d 73 68 6f 77 20 77 |e Watche|r.show w|
|00001f70| 69 6e 64 6f 77 20 22 56 | 61 72 69 61 62 6c 65 20 |indow "V|ariable |
|00001f80| 57 61 74 63 68 65 72 22 | 0d 65 6e 64 20 76 77 0d |Watcher"|.end vw.|
|00001f90| 0d 6f 6e 20 78 79 0d 2d | 2d 20 c6 20 74 79 70 65 |.on xy.-|- . type|
|00001fa0| 20 22 78 79 22 20 69 6e | 74 6f 20 6d 65 73 73 61 | "xy" in|to messa|
|00001fb0| 67 65 20 62 6f 78 20 74 | 6f 20 6f 62 74 61 69 6e |ge box t|o obtain|
|00001fc0| 20 6d 6f 75 73 65 20 63 | 6f 6f 72 64 69 6e 61 74 | mouse c|oordinat|
|00001fd0| 65 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |es.set c|ursor to|
|00001fe0| 20 63 72 6f 73 73 0d 72 | 65 70 65 61 74 20 75 6e | cross.r|epeat un|
|00001ff0| 74 69 6c 20 74 68 65 20 | 6d 6f 75 73 65 43 6c 69 |til the |mouseCli|
|00002000| 63 6b 0d 70 75 74 20 74 | 68 65 20 6d 6f 75 73 65 |ck.put t|he mouse|
|00002010| 4c 6f 63 20 26 26 20 22 | 20 20 68 6f 72 7a 3a 22 |Loc && "| horz:"|
|00002020| 20 26 20 74 68 65 20 6d | 6f 75 73 65 48 20 26 26 | & the m|ouseH &&|
|00002030| 20 22 20 20 76 65 72 74 | 3a 22 20 26 20 74 68 65 | " vert|:" & the|
|00002040| 20 6d 6f 75 73 65 56 0d | 65 6e 64 20 72 65 70 65 | mouseV.|end repe|
|00002050| 61 74 0d 65 6e 64 20 78 | 79 0d 0d 6f 6e 20 73 65 |at.end x|y..on se|
|00002060| 0d 2d 2d 20 52 65 71 75 | 69 72 65 73 20 58 57 69 |.-- Requ|ires XWi|
|00002070| 6e 64 6f 77 3a 20 53 63 | 72 69 70 74 20 45 64 69 |ndow: Sc|ript Edi|
|00002080| 74 6f 72 0d 2d 2d 20 c6 | 20 67 65 74 20 74 68 65 |tor.-- .| get the|
|00002090| 20 73 63 72 69 70 74 20 | 65 64 69 74 6f 72 20 66 | script |editor f|
|000020a0| 6f 6e 74 20 74 79 70 65 | 0d 61 73 6b 20 22 53 65 |ont type|.ask "Se|
|000020b0| 74 20 73 63 72 69 70 74 | 20 65 64 69 74 6f 72 20 |t script| editor |
|000020c0| 66 6f 6e 74 20 74 79 70 | 65 20 74 6f 3a 22 20 77 |font typ|e to:" w|
|000020d0| 69 74 68 20 22 4d 6f 6e | 61 63 6f 22 20 2d 2d 20 |ith "Mon|aco" -- |
|000020e0| 64 65 66 61 75 6c 74 20 | 76 61 6c 75 65 0d 69 66 |default |value.if|
|000020f0| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 22 | the res|ult is "|
|00002100| 43 61 6e 63 65 6c 22 20 | 6f 72 20 69 74 20 69 73 |Cancel" |or it is|
|00002110| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00002120| 20 73 65 0d 73 65 74 20 | 73 63 72 69 70 74 54 65 | se.set |scriptTe|
|00002130| 78 74 46 6f 6e 74 20 74 | 6f 20 69 74 0d 2d 2d 20 |xtFont t|o it.-- |
|00002140| c6 20 67 65 74 20 74 68 | 65 20 73 63 72 69 70 74 |. get th|e script|
|00002150| 20 65 64 69 74 6f 72 20 | 66 6f 6e 74 20 73 69 7a | editor |font siz|
|00002160| 65 0d 61 73 6b 20 22 53 | 65 74 20 73 63 72 69 70 |e.ask "S|et scrip|
|00002170| 74 20 65 64 69 74 6f 72 | 20 66 6f 6e 74 20 73 69 |t editor| font si|
|00002180| 7a 65 20 74 6f 3a 22 20 | 77 69 74 68 20 22 39 22 |ze to:" |with "9"|
|00002190| 20 2d 2d 20 64 65 66 61 | 75 6c 74 20 76 61 6c 75 | -- defa|ult valu|
|000021a0| 65 0d 69 66 20 74 68 65 | 20 72 65 73 75 6c 74 20 |e.if the| result |
|000021b0| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 6f 72 20 69 |is "Canc|el" or i|
|000021c0| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |t is emp|ty then |
|000021d0| 65 78 69 74 20 73 65 0d | 73 65 74 20 73 63 72 69 |exit se.|set scri|
|000021e0| 70 74 54 65 78 74 53 69 | 7a 65 20 74 6f 20 69 74 |ptTextSi|ze to it|
|000021f0| 0d 65 6e 64 20 73 65 0d | 0d 6f 6e 20 73 73 20 70 |.end se.|.on ss p|
|00002200| 61 74 74 65 72 6e 2c 73 | 74 61 63 6b 4e 61 6d 65 |attern,s|tackName|
|00002210| 0d 2d 2d 20 52 65 71 75 | 69 72 65 73 20 68 61 6e |.-- Requ|ires han|
|00002220| 64 6c 65 72 3a 20 73 65 | 61 72 63 68 53 63 72 69 |dler: se|archScri|
|00002230| 70 74 0d 2d 2d 20 c6 20 | 74 79 70 65 20 22 73 73 |pt.-- . |type "ss|
|00002240| 22 20 69 6e 74 6f 20 6d | 65 73 73 61 67 65 20 62 |" into m|essage b|
|00002250| 6f 78 20 74 6f 20 65 78 | 65 63 75 74 65 20 74 68 |ox to ex|ecute th|
|00002260| 65 20 73 65 61 72 63 68 | 53 63 72 69 70 74 20 68 |e search|Script h|
|00002270| 61 6e 64 6c 65 72 0d 73 | 65 61 72 63 68 53 63 72 |andler.s|earchScr|
|00002280| 69 70 74 20 70 61 74 74 | 65 72 6e 2c 73 74 61 63 |ipt patt|ern,stac|
|00002290| 6b 4e 61 6d 65 0d 65 6e | 64 20 73 73 0d 0d 6f 6e |kName.en|d ss..on|
|000022a0| 20 70 73 20 70 72 69 6e | 74 46 6f 6e 74 2c 70 72 | ps prin|tFont,pr|
|000022b0| 69 6e 74 53 69 7a 65 2c | 73 74 61 63 6b 4e 61 6d |intSize,|stackNam|
|000022c0| 65 0d 2d 2d 20 52 65 71 | 75 69 72 65 73 20 68 61 |e.-- Req|uires ha|
|000022d0| 6e 64 6c 65 72 3a 20 70 | 72 69 6e 74 53 63 72 69 |ndler: p|rintScri|
|000022e0| 70 74 73 0d 2d 2d 20 c6 | 20 74 79 70 65 20 22 70 |pts.-- .| type "p|
|000022f0| 73 22 20 69 6e 74 6f 20 | 6d 65 73 73 61 67 65 20 |s" into |message |
|00002300| 62 6f 78 20 74 6f 20 65 | 78 65 63 75 74 65 20 74 |box to e|xecute t|
|00002310| 68 65 20 70 72 69 6e 74 | 53 63 72 69 70 74 20 68 |he print|Script h|
|00002320| 61 6e 64 6c 65 72 0d 70 | 72 69 6e 74 53 63 72 69 |andler.p|rintScri|
|00002330| 70 74 73 20 70 72 69 6e | 74 46 6f 6e 74 2c 70 72 |pts prin|tFont,pr|
|00002340| 69 6e 74 53 69 7a 65 2c | 73 74 61 63 6b 4e 61 6d |intSize,|stackNam|
|00002350| 65 0d 65 6e 64 20 70 73 | 0d 0d 6f 6e 20 64 69 73 |e.end ps|..on dis|
|00002360| 61 6c 6c 6f 77 49 6e 74 | 65 72 72 75 70 74 69 6f |allowInt|erruptio|
|00002370| 6e 20 2d 2d 20 73 6f 20 | 63 61 6e 27 74 20 73 74 |n -- so |can't st|
|00002380| 6f 70 20 73 63 72 69 70 | 74 73 20 77 68 69 6c 65 |op scrip|ts while|
|00002390| 20 72 75 6e 6e 69 6e 67 | 0d 73 65 74 20 63 61 6e | running|.set can|
|000023a0| 74 41 62 6f 72 74 20 6f | 66 20 74 68 69 73 20 73 |tAbort o|f this s|
|000023b0| 74 61 63 6b 20 74 6f 20 | 74 72 75 65 0d 65 6e 64 |tack to |true.end|
|000023c0| 20 64 69 73 61 6c 6c 6f | 77 49 6e 74 65 72 72 75 | disallo|wInterru|
|000023d0| 70 74 69 6f 6e 0d 0d 6f | 6e 20 61 6c 6c 6f 77 49 |ption..o|n allowI|
|000023e0| 6e 74 65 72 72 75 70 74 | 69 6f 6e 20 2d 2d 20 73 |nterrupt|ion -- s|
|000023f0| 6f 20 63 61 6e 20 73 74 | 6f 70 20 73 63 72 69 70 |o can st|op scrip|
|00002400| 74 73 20 77 68 69 6c 65 | 20 72 75 6e 6e 69 6e 67 |ts while| running|
|00002410| 0d 73 65 74 20 63 61 6e | 74 41 62 6f 72 74 20 6f |.set can|tAbort o|
|00002420| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 74 6f 20 |f this s|tack to |
|00002430| 66 61 6c 73 65 0d 65 6e | 64 20 61 6c 6c 6f 77 49 |false.en|d allowI|
|00002440| 6e 74 65 72 72 75 70 74 | 69 6f 6e 0d 0d 6f 6e 20 |nterrupt|ion..on |
|00002450| 73 65 74 55 73 65 72 4c | 65 76 65 6c 46 69 76 65 |setUserL|evelFive|
|00002460| 20 2d 2d 20 73 6f 6d 65 | 20 74 68 69 6e 67 73 20 | -- some| things |
|00002470| 6e 65 65 64 20 74 68 69 | 73 20 75 73 65 72 4c 65 |need thi|s userLe|
|00002480| 76 65 6c 0d 67 6c 6f 62 | 61 6c 20 73 76 4c 76 6c |vel.glob|al svLvl|
|00002490| 0d 70 75 74 20 74 68 65 | 20 75 73 65 72 4c 65 76 |.put the| userLev|
|000024a0| 65 6c 20 69 6e 74 6f 20 | 73 76 4c 76 6c 0d 73 65 |el into |svLvl.se|
|000024b0| 74 20 74 68 65 20 75 73 | 65 72 4c 65 76 65 6c 20 |t the us|erLevel |
|000024c0| 74 6f 20 35 0d 65 6e 64 | 20 73 65 74 55 73 65 72 |to 5.end| setUser|
|000024d0| 4c 65 76 65 6c 46 69 76 | 65 0d 0d 6f 6e 20 72 65 |LevelFiv|e..on re|
|000024e0| 73 74 6f 72 65 55 73 65 | 72 4c 65 76 65 6c 20 2d |storeUse|rLevel -|
|000024f0| 2d 20 75 73 65 20 61 66 | 74 65 72 20 73 65 74 55 |- use af|ter setU|
|00002500| 73 65 72 4c 65 76 65 6c | 46 69 76 65 0d 67 6c 6f |serLevel|Five.glo|
|00002510| 62 61 6c 20 73 76 4c 76 | 6c 0d 73 65 74 20 74 68 |bal svLv|l.set th|
|00002520| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 74 6f 20 73 |e userLe|vel to s|
|00002530| 76 4c 76 6c 0d 65 6e 64 | 20 72 65 73 74 6f 72 65 |vLvl.end| restore|
|00002540| 55 73 65 72 4c 65 76 65 | 6c 0d 0d 6f 6e 20 73 65 |UserLeve|l..on se|
|00002550| 61 72 63 68 53 63 72 69 | 70 74 20 70 61 74 74 65 |archScri|pt patte|
|00002560| 72 6e 2c 73 74 61 63 6b | 4e 61 6d 65 0d 2d 2d 20 |rn,stack|Name.-- |
|00002570| 73 65 61 72 63 68 20 41 | 4c 4c 20 73 63 72 69 70 |search A|LL scrip|
|00002580| 74 73 20 6f 66 20 61 20 | 73 74 61 63 6b 20 66 6f |ts of a |stack fo|
|00002590| 72 20 61 20 27 70 61 74 | 74 65 72 6e 27 20 6f 66 |r a 'pat|tern' of|
|000025a0| 20 63 68 61 72 61 63 74 | 65 72 73 0d 67 6c 6f 62 | charact|ers.glob|
|000025b0| 61 6c 20 53 63 72 69 70 | 74 46 69 6e 64 53 74 72 |al Scrip|tFindStr|
|000025c0| 69 6e 67 20 2d 2d 20 48 | 79 70 65 72 54 61 6c 6b |ing -- H|yperTalk|
|000025d0| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|000025e0| 0d 73 65 74 55 73 65 72 | 4c 65 76 65 6c 46 69 76 |.setUser|LevelFiv|
|000025f0| 65 20 2d 2d 20 73 61 76 | 65 73 20 63 75 72 72 65 |e -- sav|es curre|
|00002600| 6e 74 20 6c 65 76 65 6c | 20 61 6e 64 20 73 65 74 |nt level| and set|
|00002610| 73 20 6c 65 76 65 6c 20 | 35 0d 70 75 73 68 20 63 |s level |5.push c|
|00002620| 61 72 64 20 2d 2d 20 72 | 65 6d 65 6d 62 65 72 20 |ard -- r|emember |
|00002630| 77 68 65 72 65 20 77 65 | 20 61 72 65 0d 0d 69 66 |where we| are..if|
|00002640| 20 70 61 74 74 65 72 6e | 20 69 73 20 65 6d 70 74 | pattern| is empt|
|00002650| 79 20 74 68 65 6e 0d 2d | 2d 20 c6 20 67 65 74 20 |y then.-|- . get |
|00002660| 73 65 61 72 63 68 20 73 | 74 72 69 6e 67 20 66 72 |search s|tring fr|
|00002670| 6f 6d 20 74 68 65 20 75 | 73 65 72 0d 61 73 6b 20 |om the u|ser.ask |
|00002680| 22 53 65 61 72 63 68 20 | 66 6f 72 20 77 68 61 74 |"Search |for what|
|00002690| 20 73 74 72 69 6e 67 3f | 22 20 77 69 74 68 20 53 | string?|" with S|
|000026a0| 63 72 69 70 74 46 69 6e | 64 53 74 72 69 6e 67 0d |criptFin|dString.|
|000026b0| 69 66 20 28 69 74 20 69 | 73 20 65 6d 70 74 79 29 |if (it i|s empty)|
|000026c0| 20 6f 72 20 28 74 68 65 | 20 72 65 73 75 6c 74 20 | or (the| result |
|000026d0| 69 73 20 22 43 61 6e 63 | 65 6c 22 29 20 74 68 65 |is "Canc|el") the|
|000026e0| 6e 20 65 78 69 74 20 73 | 65 61 72 63 68 53 63 72 |n exit s|earchScr|
|000026f0| 69 70 74 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |ipt.put |it into |
|00002700| 70 61 74 74 65 72 6e 20 | 2d 2d 20 6f 74 68 65 72 |pattern |-- other|
|00002710| 77 69 73 65 20 75 73 65 | 20 69 74 20 61 73 20 74 |wise use| it as t|
|00002720| 68 65 20 73 65 61 72 63 | 68 20 70 61 74 74 65 72 |he searc|h patter|
|00002730| 6e 0d 65 6e 64 20 69 66 | 0d 2d 2d 20 70 75 74 20 |n.end if|.-- put |
|00002740| 69 6e 20 48 79 70 65 72 | 54 61 6c 6b 20 67 6c 6f |in Hyper|Talk glo|
|00002750| 62 61 6c 20 73 6f 20 6a | 75 73 74 20 43 4d 44 2d |bal so j|ust CMD-|
|00002760| 46 20 69 6e 20 65 64 69 | 74 6f 72 20 66 6f 72 20 |F in edi|tor for |
|00002770| 65 61 73 79 20 66 69 6e | 64 0d 70 75 74 20 70 61 |easy fin|d.put pa|
|00002780| 74 74 65 72 6e 20 69 6e | 74 6f 20 53 63 72 69 70 |ttern in|to Scrip|
|00002790| 74 46 69 6e 64 53 74 72 | 69 6e 67 0d 0d 73 65 74 |tFindStr|ing..set|
|000027a0| 20 6c 6f 63 6b 4d 65 73 | 73 61 67 65 73 20 74 6f | lockMes|sages to|
|000027b0| 20 74 72 75 65 20 2d 2d | 20 61 76 6f 69 64 20 6f | true --| avoid o|
|000027c0| 70 65 6e 20 6d 65 73 73 | 61 67 65 73 0d 69 66 20 |pen mess|ages.if |
|000027d0| 73 74 61 63 6b 4e 61 6d | 65 20 69 73 20 6e 6f 74 |stackNam|e is not|
|000027e0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 67 6f 20 74 | empty t|hen go t|
|000027f0| 6f 20 73 74 61 63 6b 20 | 73 74 61 63 6b 4e 61 6d |o stack |stackNam|
|00002800| 65 0d 2d 2d 20 4e 6f 74 | 65 3a 20 69 66 20 73 74 |e.-- Not|e: if st|
|00002810| 61 63 6b 4e 61 6d 65 20 | 69 73 20 65 6d 70 74 79 |ackName |is empty|
|00002820| 20 74 68 65 6e 20 77 65 | 20 73 65 61 72 63 68 20 | then we| search |
|00002830| 74 68 65 20 63 75 72 72 | 65 6e 74 20 73 74 61 63 |the curr|ent stac|
|00002840| 6b 0d 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |k..set c|ursor to|
|00002850| 20 62 75 73 79 0d 2d 2d | 20 73 65 61 72 63 68 20 | busy.--| search |
|00002860| 74 68 65 20 73 74 61 63 | 6b 20 73 63 72 69 70 74 |the stac|k script|
|00002870| 20 6f 66 20 74 68 65 20 | 73 74 61 63 6b 0d 69 66 | of the |stack.if|
|00002880| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 74 | the scr|ipt of t|
|00002890| 68 69 73 20 73 74 61 63 | 6b 20 63 6f 6e 74 61 69 |his stac|k contai|
|000028a0| 6e 73 20 70 61 74 74 65 | 72 6e 0d 74 68 65 6e 20 |ns patte|rn.then |
|000028b0| 65 64 69 74 20 73 63 72 | 69 70 74 20 6f 66 20 74 |edit scr|ipt of t|
|000028c0| 68 69 73 20 73 74 61 63 | 6b 0d 0d 2d 2d 20 73 65 |his stac|k..-- se|
|000028d0| 61 72 63 68 20 74 68 65 | 20 62 61 63 6b 67 72 6f |arch the| backgro|
|000028e0| 75 6e 64 20 73 63 72 69 | 70 74 73 20 61 6e 64 20 |und scri|pts and |
|000028f0| 6f 62 6a 65 63 74 73 20 | 6f 66 20 74 68 65 20 73 |objects |of the s|
|00002900| 74 61 63 6b 0d 72 65 70 | 65 61 74 20 77 69 74 68 |tack.rep|eat with|
|00002910| 20 63 75 72 42 6b 67 6e | 64 20 3d 20 31 20 74 6f | curBkgn|d = 1 to|
|00002920| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00002930| 6b 67 6e 64 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |kgnds.se|t cursor|
|00002940| 20 74 6f 20 62 75 73 79 | 0d 67 6f 20 74 6f 20 63 | to busy|.go to c|
|00002950| 61 72 64 20 31 20 6f 66 | 20 62 6b 67 6e 64 20 63 |ard 1 of| bkgnd c|
|00002960| 75 72 42 6b 67 6e 64 0d | 69 66 20 74 68 65 20 73 |urBkgnd.|if the s|
|00002970| 63 72 69 70 74 20 6f 66 | 20 74 68 69 73 20 62 6b |cript of| this bk|
|00002980| 67 6e 64 20 63 6f 6e 74 | 61 69 6e 73 20 70 61 74 |gnd cont|ains pat|
|00002990| 74 65 72 6e 0d 74 68 65 | 6e 20 65 64 69 74 20 73 |tern.the|n edit s|
|000029a0| 63 72 69 70 74 20 6f 66 | 20 62 6b 67 6e 64 20 63 |cript of| bkgnd c|
|000029b0| 75 72 42 6b 67 6e 64 0d | 0d 72 65 70 65 61 74 20 |urBkgnd.|.repeat |
|000029c0| 77 69 74 68 20 63 75 72 | 42 67 42 74 6e 20 3d 20 |with cur|BgBtn = |
|000029d0| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|000029e0| 6f 66 20 62 6b 67 6e 64 | 20 62 75 74 74 6f 6e 73 |of bkgnd| buttons|
|000029f0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00002a00| 75 73 79 0d 69 66 20 74 | 68 65 20 73 63 72 69 70 |usy.if t|he scrip|
|00002a10| 74 20 6f 66 20 62 6b 67 | 6e 64 20 62 75 74 74 6f |t of bkg|nd butto|
|00002a20| 6e 20 63 75 72 42 67 42 | 74 6e 20 63 6f 6e 74 61 |n curBgB|tn conta|
|00002a30| 69 6e 73 20 70 61 74 74 | 65 72 6e 0d 74 68 65 6e |ins patt|ern.then|
|00002a40| 20 65 64 69 74 20 73 63 | 72 69 70 74 20 6f 66 20 | edit sc|ript of |
|00002a50| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 63 75 72 |bkgnd bu|tton cur|
|00002a60| 42 67 42 74 6e 0d 65 6e | 64 20 72 65 70 65 61 74 |BgBtn.en|d repeat|
|00002a70| 0d 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 63 75 |..repeat| with cu|
|00002a80| 72 42 67 46 69 65 6c 64 | 20 3d 20 31 20 74 6f 20 |rBgField| = 1 to |
|00002a90| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 62 6b |the numb|er of bk|
|00002aa0| 67 6e 64 20 66 69 65 6c | 64 73 0d 73 65 74 20 63 |gnd fiel|ds.set c|
|00002ab0| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 69 66 |ursor to| busy.if|
|00002ac0| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 62 | the scr|ipt of b|
|00002ad0| 6b 67 6e 64 20 66 69 65 | 6c 64 20 63 75 72 42 67 |kgnd fie|ld curBg|
|00002ae0| 46 69 65 6c 64 20 63 6f | 6e 74 61 69 6e 73 20 70 |Field co|ntains p|
|00002af0| 61 74 74 65 72 6e 0d 74 | 68 65 6e 20 65 64 69 74 |attern.t|hen edit|
|00002b00| 20 73 63 72 69 70 74 20 | 6f 66 20 62 6b 67 6e 64 | script |of bkgnd|
|00002b10| 20 66 69 65 6c 64 20 63 | 75 72 42 67 46 69 65 6c | field c|urBgFiel|
|00002b20| 64 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |d.end re|peat.end|
|00002b30| 20 72 65 70 65 61 74 0d | 0d 2d 2d 20 73 65 61 72 | repeat.|.-- sear|
|00002b40| 63 68 20 74 68 65 20 63 | 61 72 64 20 73 63 72 69 |ch the c|ard scri|
|00002b50| 70 74 73 20 61 6e 64 20 | 6f 62 6a 65 63 74 73 20 |pts and |objects |
|00002b60| 6f 66 20 74 68 65 20 73 | 74 61 63 6b 0d 72 65 70 |of the s|tack.rep|
|00002b70| 65 61 74 20 77 69 74 68 | 20 63 75 72 43 61 72 64 |eat with| curCard|
|00002b80| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00002b90| 65 72 20 6f 66 20 63 61 | 72 64 73 0d 73 65 74 20 |er of ca|rds.set |
|00002ba0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 67 |cursor t|o busy.g|
|00002bb0| 6f 20 63 61 72 64 20 63 | 75 72 43 61 72 64 0d 69 |o card c|urCard.i|
|00002bc0| 66 20 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |f the sc|ript of |
|00002bd0| 74 68 69 73 20 63 61 72 | 64 20 63 6f 6e 74 61 69 |this car|d contai|
|00002be0| 6e 73 20 70 61 74 74 65 | 72 6e 0d 74 68 65 6e 20 |ns patte|rn.then |
|00002bf0| 65 64 69 74 20 73 63 72 | 69 70 74 20 6f 66 20 74 |edit scr|ipt of t|
|00002c00| 68 69 73 20 63 61 72 64 | 0d 0d 72 65 70 65 61 74 |his card|..repeat|
|00002c10| 20 77 69 74 68 20 63 75 | 72 43 64 42 74 6e 20 3d | with cu|rCdBtn =|
|00002c20| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00002c30| 20 6f 66 20 63 61 72 64 | 20 62 75 74 74 6f 6e 73 | of card| buttons|
|00002c40| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00002c50| 75 73 79 0d 69 66 20 74 | 68 65 20 73 63 72 69 70 |usy.if t|he scrip|
|00002c60| 74 20 6f 66 20 63 61 72 | 64 20 62 75 74 74 6f 6e |t of car|d button|
|00002c70| 20 63 75 72 43 64 42 74 | 6e 20 63 6f 6e 74 61 69 | curCdBt|n contai|
|00002c80| 6e 73 20 70 61 74 74 65 | 72 6e 0d 74 68 65 6e 20 |ns patte|rn.then |
|00002c90| 65 64 69 74 20 73 63 72 | 69 70 74 20 6f 66 20 63 |edit scr|ipt of c|
|00002ca0| 61 72 64 20 62 75 74 74 | 6f 6e 20 63 75 72 43 64 |ard butt|on curCd|
|00002cb0| 42 74 6e 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 0d |Btn.end |repeat..|
|00002cc0| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 75 72 43 |repeat w|ith curC|
|00002cd0| 64 46 6c 64 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |dFld = 1| to the |
|00002ce0| 6e 75 6d 62 65 72 20 6f | 66 20 63 61 72 64 20 66 |number o|f card f|
|00002cf0| 69 65 6c 64 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |ields.se|t cursor|
|00002d00| 20 74 6f 20 62 75 73 79 | 0d 69 66 20 74 68 65 20 | to busy|.if the |
|00002d10| 73 63 72 69 70 74 20 6f | 66 20 63 61 72 64 20 66 |script o|f card f|
|00002d20| 69 65 6c 64 20 63 75 72 | 43 64 46 6c 64 20 63 6f |ield cur|CdFld co|
|00002d30| 6e 74 61 69 6e 73 20 70 | 61 74 74 65 72 6e 0d 74 |ntains p|attern.t|
|00002d40| 68 65 6e 20 65 64 69 74 | 20 73 63 72 69 70 74 20 |hen edit| script |
|00002d50| 6f 66 20 63 61 72 64 20 | 66 69 65 6c 64 20 63 75 |of card |field cu|
|00002d60| 72 43 64 46 6c 64 0d 65 | 6e 64 20 72 65 70 65 61 |rCdFld.e|nd repea|
|00002d70| 74 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 0d 73 65 |t.end re|peat..se|
|00002d80| 74 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 74 |t lockMe|ssages t|
|00002d90| 6f 20 66 61 6c 73 65 0d | 70 6f 70 20 63 61 72 64 |o false.|pop card|
|00002da0| 20 2d 2d 20 72 65 74 75 | 72 6e 20 74 6f 20 77 68 | -- retu|rn to wh|
|00002db0| 65 72 65 20 77 65 20 77 | 65 72 65 0d 72 65 73 74 |ere we w|ere.rest|
|00002dc0| 6f 72 65 55 73 65 72 4c | 65 76 65 6c 20 2d 2d 20 |oreUserL|evel -- |
|00002dd0| 73 65 74 20 75 73 65 72 | 4c 65 76 65 6c 20 62 61 |set user|Level ba|
|00002de0| 63 6b 20 74 6f 20 77 68 | 61 74 65 76 65 72 20 69 |ck to wh|atever i|
|00002df0| 74 20 77 61 73 0d 2d 2d | 20 c6 20 69 6e 66 6f 72 |t was.--| . infor|
|00002e00| 6d 20 74 68 65 20 75 73 | 65 72 20 74 68 61 74 20 |m the us|er that |
|00002e10| 77 65 27 76 65 20 66 69 | 6e 69 73 68 65 64 20 74 |we've fi|nished t|
|00002e20| 68 65 20 73 65 61 72 63 | 68 0d 61 6e 73 77 65 72 |he searc|h.answer|
|00002e30| 20 22 53 65 61 72 63 68 | 20 73 63 72 69 70 74 20 | "Search| script |
|00002e40| 64 6f 6e 65 21 22 0d 65 | 6e 64 20 73 65 61 72 63 |done!".e|nd searc|
|00002e50| 68 53 63 72 69 70 74 0d | 0d 66 75 6e 63 74 69 6f |hScript.|.functio|
|00002e60| 6e 20 6d 61 6b 65 50 53 | 48 65 61 64 65 72 20 74 |n makePS|Header t|
|00002e70| 68 65 54 69 74 6c 65 0d | 2d 2d 20 63 61 6c 6c 65 |heTitle.|-- calle|
|00002e80| 64 20 62 79 20 74 68 65 | 20 70 72 69 6e 74 53 63 |d by the| printSc|
|00002e90| 72 69 70 74 73 20 68 61 | 6e 64 6c 65 72 0d 2d 2d |ripts ha|ndler.--|
|00002ea0| 20 63 72 65 61 74 65 20 | 61 20 68 65 61 64 65 72 | create |a header|
|00002eb0| 20 66 6f 72 20 61 6e 79 | 20 73 74 72 69 6e 67 0d | for any| string.|
|00002ec0| 70 75 74 20 22 a5 2d 2d | 2d 2d 3d 3d 3d 3d 3d 2d |put ".--|--=====-|
|00002ed0| 2d 2d 2d 2d 3d 3d 3d 3d | 3d 2d 2d 2d 2d 2d 3d 3d |----====|=-----==|
|00002ee0| 3d 3d 3d 2d 2d 2d 2d 2d | 3d 3d 3d 3d 3d 2d 2d 2d |===-----|=====---|
|00002ef0| 2d 2d 3d 3d 3d 3d 3d 2d | 2d 2d 2d 2d 3d 3d 3d 3d |--=====-|----====|
|00002f00| 3d 2d 2d 2d 2d 2d a5 22 | 20 26 20 72 65 74 75 72 |=-----."| & retur|
|00002f10| 6e 20 69 6e 74 6f 20 62 | 6f 72 64 65 72 0d 72 65 |n into b|order.re|
|00002f20| 74 75 72 6e 20 62 6f 72 | 64 65 72 20 26 20 74 68 |turn bor|der & th|
|00002f30| 65 54 69 74 6c 65 20 26 | 20 72 65 74 75 72 6e 20 |eTitle &| return |
|00002f40| 26 20 62 6f 72 64 65 72 | 20 26 20 72 65 74 75 72 |& border| & retur|
|00002f50| 6e 0d 65 6e 64 20 6d 61 | 6b 65 50 53 48 65 61 64 |n.end ma|kePSHead|
|00002f60| 65 72 0d 0d 6f 6e 20 70 | 72 69 6e 74 53 63 72 69 |er..on p|rintScri|
|00002f70| 70 74 73 20 70 72 69 6e | 74 46 6f 6e 74 2c 70 72 |pts prin|tFont,pr|
|00002f80| 69 6e 74 53 69 7a 65 2c | 73 74 61 63 6b 4e 61 6d |intSize,|stackNam|
|00002f90| 65 0d 2d 2d 20 c6 20 70 | 72 69 6e 74 73 20 61 6c |e.-- . p|rints al|
|00002fa0| 6c 20 73 63 72 69 70 74 | 73 20 6f 66 20 61 20 73 |l script|s of a s|
|00002fb0| 74 61 63 6b 0d 61 6e 73 | 77 65 72 20 22 50 72 69 |tack.ans|wer "Pri|
|00002fc0| 6e 74 20 61 6c 6c 20 73 | 63 72 69 70 74 73 20 69 |nt all s|cripts i|
|00002fd0| 6e 20 74 68 69 73 20 73 | 74 61 63 6b 3f 22 20 77 |n this s|tack?" w|
|00002fe0| 69 74 68 20 22 43 61 6e | 63 65 6c 22 20 6f 72 20 |ith "Can|cel" or |
|00002ff0| 22 4f 4b 22 0d 69 66 20 | 69 74 20 ad 20 22 4f 4b |"OK".if |it . "OK|
|00003000| 22 20 74 68 65 6e 20 65 | 78 69 74 20 70 72 69 6e |" then e|xit prin|
|00003010| 74 53 63 72 69 70 74 73 | 0d 70 75 73 68 20 63 61 |tScripts|.push ca|
|00003020| 72 64 20 2d 2d 20 72 65 | 6d 65 6d 62 65 72 20 77 |rd -- re|member w|
|00003030| 68 65 72 65 20 77 65 20 | 61 72 65 0d 0d 6c 6f 63 |here we |are..loc|
|00003040| 6b 20 73 63 72 65 65 6e | 0d 73 65 74 20 6c 6f 63 |k screen|.set loc|
|00003050| 6b 4d 65 73 73 61 67 65 | 73 20 74 6f 20 74 72 75 |kMessage|s to tru|
|00003060| 65 20 2d 2d 20 61 76 6f | 69 64 20 6f 70 65 6e 20 |e -- avo|id open |
|00003070| 6d 65 73 73 61 67 65 73 | 0d 73 65 74 20 6c 6f 63 |messages|.set loc|
|00003080| 6b 52 65 63 65 6e 74 20 | 74 6f 20 74 72 75 65 20 |kRecent |to true |
|00003090| 2d 2d 20 6e 6f 20 63 61 | 72 64 20 6d 69 6e 69 61 |-- no ca|rd minia|
|000030a0| 74 75 72 65 73 0d 69 66 | 20 73 74 61 63 6b 4e 61 |tures.if| stackNa|
|000030b0| 6d 65 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |me is no|t empty |
|000030c0| 74 68 65 6e 20 67 6f 20 | 74 6f 20 73 74 61 63 6b |then go |to stack|
|000030d0| 20 73 74 61 63 6b 4e 61 | 6d 65 0d 2d 2d 20 4e 6f | stackNa|me.-- No|
|000030e0| 74 65 3a 20 69 66 20 73 | 74 61 63 6b 4e 61 6d 65 |te: if s|tackName|
|000030f0| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 77 | is empt|y then w|
|00003100| 65 20 73 65 61 72 63 68 | 20 74 68 65 20 63 75 72 |e search| the cur|
|00003110| 72 65 6e 74 20 73 74 61 | 63 6b 0d 0d 72 65 73 65 |rent sta|ck..rese|
|00003120| 74 20 70 72 69 6e 74 69 | 6e 67 0d 69 66 20 70 72 |t printi|ng.if pr|
|00003130| 69 6e 74 46 6f 6e 74 20 | 69 73 20 6e 6f 74 20 65 |intFont |is not e|
|00003140| 6d 70 74 79 20 74 68 65 | 6e 20 73 65 74 20 70 72 |mpty the|n set pr|
|00003150| 69 6e 74 54 65 78 74 46 | 6f 6e 74 20 74 6f 20 70 |intTextF|ont to p|
|00003160| 72 69 6e 74 46 6f 6e 74 | 0d 69 66 20 70 72 69 6e |rintFont|.if prin|
|00003170| 74 53 69 7a 65 20 69 73 | 20 6e 6f 74 20 65 6d 70 |tSize is| not emp|
|00003180| 74 79 20 74 68 65 6e 20 | 73 65 74 20 70 72 69 6e |ty then |set prin|
|00003190| 74 54 65 78 74 53 69 7a | 65 20 74 6f 20 70 72 69 |tTextSiz|e to pri|
|000031a0| 6e 74 53 69 7a 65 0d 0d | 73 65 74 20 63 75 72 73 |ntSize..|set curs|
|000031b0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 2d 2d 20 c6 20 |or to bu|sy.-- . |
|000031c0| 70 72 69 6e 74 20 73 74 | 61 63 6b 20 73 63 72 69 |print st|ack scri|
|000031d0| 70 74 20 68 65 61 64 65 | 72 20 61 6e 64 20 73 63 |pt heade|r and sc|
|000031e0| 72 69 70 74 0d 70 72 69 | 6e 74 20 6d 61 6b 65 50 |ript.pri|nt makeP|
|000031f0| 53 48 65 61 64 65 72 28 | 22 53 63 72 69 70 74 20 |SHeader(|"Script |
|00003200| 6f 66 20 53 74 61 63 6b | 22 20 26 26 20 73 68 6f |of Stack|" && sho|
|00003210| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00003220| 73 74 61 63 6b 29 20 c2 | 0d 26 20 73 63 72 69 70 |stack) .|.& scrip|
|00003230| 74 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 0d |t of thi|s stack.|
|00003240| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3c 3e |if the r|esult <>|
|00003250| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|00003260| 20 70 72 69 6e 74 53 63 | 72 69 70 74 73 0d 0d 72 | printSc|ripts..r|
|00003270| 65 70 65 61 74 20 77 69 | 74 68 20 63 75 72 42 6b |epeat wi|th curBk|
|00003280| 67 6e 64 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |gnd = 1 |to the n|
|00003290| 75 6d 62 65 72 20 6f 66 | 20 62 6b 67 6e 64 73 0d |umber of| bkgnds.|
|000032a0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000032b0| 73 79 0d 67 6f 20 74 6f | 20 63 61 72 64 20 31 20 |sy.go to| card 1 |
|000032c0| 6f 66 20 62 6b 67 6e 64 | 20 63 75 72 42 6b 67 6e |of bkgnd| curBkgn|
|000032d0| 64 0d 2d 2d 20 c6 20 70 | 72 69 6e 74 20 62 61 63 |d.-- . p|rint bac|
|000032e0| 6b 67 72 6f 75 6e 64 20 | 73 63 72 69 70 74 20 68 |kground |script h|
|000032f0| 65 61 64 65 72 20 61 6e | 64 20 73 63 72 69 70 74 |eader an|d script|
|00003300| 0d 70 72 69 6e 74 20 6d | 61 6b 65 50 53 48 65 61 |.print m|akePSHea|
|00003310| 64 65 72 28 22 53 63 72 | 69 70 74 20 6f 66 20 42 |der("Scr|ipt of B|
|00003320| 61 63 6b 67 72 6f 75 6e | 64 22 20 26 26 20 73 68 |ackgroun|d" && sh|
|00003330| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 74 68 69 73 |ort name| of this|
|00003340| 20 62 6b 67 6e 64 29 20 | c2 0d 26 20 73 63 72 69 | bkgnd) |..& scri|
|00003350| 70 74 20 6f 66 20 74 68 | 69 73 20 62 6b 67 6e 64 |pt of th|is bkgnd|
|00003360| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 3c |.if the |result <|
|00003370| 3e 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |> empty |then exi|
|00003380| 74 20 70 72 69 6e 74 53 | 63 72 69 70 74 73 0d 0d |t printS|cripts..|
|00003390| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 75 72 42 |repeat w|ith curB|
|000033a0| 67 42 74 6e 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |gBtn = 1| to the |
|000033b0| 6e 75 6d 62 65 72 20 6f | 66 20 62 6b 67 6e 64 20 |number o|f bkgnd |
|000033c0| 62 75 74 74 6f 6e 73 0d | 73 65 74 20 63 75 72 73 |buttons.|set curs|
|000033d0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 2d 2d 20 c6 20 |or to bu|sy.-- . |
|000033e0| 70 72 69 6e 74 20 62 6b | 67 6e 64 20 62 75 74 74 |print bk|gnd butt|
|000033f0| 6f 6e 20 73 63 72 69 70 | 74 20 68 65 61 64 65 72 |on scrip|t header|
|00003400| 20 61 6e 64 20 73 63 72 | 69 70 74 0d 70 72 69 6e | and scr|ipt.prin|
|00003410| 74 20 6d 61 6b 65 50 53 | 48 65 61 64 65 72 28 22 |t makePS|Header("|
|00003420| 53 63 72 69 70 74 20 6f | 66 20 42 61 63 6b 67 72 |Script o|f Backgr|
|00003430| 6f 75 6e 64 20 42 75 74 | 74 6f 6e 22 20 26 26 20 |ound But|ton" && |
|00003440| c2 0d 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |..short |name of |
|00003450| 62 6b 67 6e 64 20 62 74 | 6e 20 63 75 72 42 67 42 |bkgnd bt|n curBgB|
|00003460| 74 6e 29 20 26 20 73 63 | 72 69 70 74 20 6f 66 20 |tn) & sc|ript of |
|00003470| 62 6b 67 6e 64 20 62 75 | 74 74 6f 6e 20 63 75 72 |bkgnd bu|tton cur|
|00003480| 42 67 42 74 6e 0d 69 66 | 20 74 68 65 20 72 65 73 |BgBtn.if| the res|
|00003490| 75 6c 74 20 3c 3e 20 65 | 6d 70 74 79 20 74 68 65 |ult <> e|mpty the|
|000034a0| 6e 20 65 78 69 74 20 70 | 72 69 6e 74 53 63 72 69 |n exit p|rintScri|
|000034b0| 70 74 73 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 0d |pts.end |repeat..|
|000034c0| 72 65 70 65 61 74 20 77 | 69 74 68 20 63 75 72 42 |repeat w|ith curB|
|000034d0| 67 46 69 65 6c 64 20 3d | 20 31 20 74 6f 20 74 68 |gField =| 1 to th|
|000034e0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 62 6b 67 6e |e number| of bkgn|
|000034f0| 64 20 66 69 65 6c 64 73 | 0d 73 65 74 20 63 75 72 |d fields|.set cur|
|00003500| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 2d 2d 20 c6 |sor to b|usy.-- .|
|00003510| 20 70 72 69 6e 74 20 62 | 6b 67 6e 64 20 66 69 65 | print b|kgnd fie|
|00003520| 6c 64 20 73 63 72 69 70 | 74 20 68 65 61 64 65 72 |ld scrip|t header|
|00003530| 20 61 6e 64 20 73 63 72 | 69 70 74 0d 70 72 69 6e | and scr|ipt.prin|
|00003540| 74 20 6d 61 6b 65 50 53 | 48 65 61 64 65 72 28 22 |t makePS|Header("|
|00003550| 53 63 72 69 70 74 20 6f | 66 20 42 61 63 6b 67 72 |Script o|f Backgr|
|00003560| 6f 75 6e 64 20 46 69 65 | 6c 64 22 20 26 26 20 c2 |ound Fie|ld" && .|
|00003570| 0d 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 62 |.short n|ame of b|
|00003580| 6b 67 6e 64 20 66 6c 64 | 20 63 75 72 42 67 46 69 |kgnd fld| curBgFi|
|00003590| 65 6c 64 29 20 26 20 73 | 63 72 69 70 74 20 6f 66 |eld) & s|cript of|
|000035a0| 20 62 6b 67 6e 64 20 66 | 69 65 6c 64 20 63 75 72 | bkgnd f|ield cur|
|000035b0| 42 67 46 69 65 6c 64 0d | 69 66 20 74 68 65 20 72 |BgField.|if the r|
|000035c0| 65 73 75 6c 74 20 3c 3e | 20 65 6d 70 74 79 20 74 |esult <>| empty t|
|000035d0| 68 65 6e 20 65 78 69 74 | 20 70 72 69 6e 74 53 63 |hen exit| printSc|
|000035e0| 72 69 70 74 73 0d 65 6e | 64 20 72 65 70 65 61 74 |ripts.en|d repeat|
|000035f0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 0d 72 65 70 |.end rep|eat..rep|
|00003600| 65 61 74 20 77 69 74 68 | 20 63 75 72 43 61 72 64 |eat with| curCard|
|00003610| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00003620| 65 72 20 6f 66 20 63 61 | 72 64 73 0d 73 65 74 20 |er of ca|rds.set |
|00003630| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 67 |cursor t|o busy.g|
|00003640| 6f 20 63 61 72 64 20 63 | 75 72 43 61 72 64 0d 2d |o card c|urCard.-|
|00003650| 2d 20 c6 20 70 72 69 6e | 74 20 63 61 72 64 20 73 |- . prin|t card s|
|00003660| 63 72 69 70 74 20 68 65 | 61 64 65 72 20 61 6e 64 |cript he|ader and|
|00003670| 20 73 63 72 69 70 74 0d | 70 72 69 6e 74 20 6d 61 | script.|print ma|
|00003680| 6b 65 50 53 48 65 61 64 | 65 72 28 22 53 63 72 69 |kePSHead|er("Scri|
|00003690| 70 74 20 6f 66 20 43 61 | 72 64 22 20 26 26 20 73 |pt of Ca|rd" && s|
|000036a0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|000036b0| 73 20 63 61 72 64 29 20 | c2 0d 26 20 73 63 72 69 |s card) |..& scri|
|000036c0| 70 74 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 0d |pt of th|is card.|
|000036d0| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3c 3e |if the r|esult <>|
|000036e0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|000036f0| 20 70 72 69 6e 74 53 63 | 72 69 70 74 73 0d 0d 72 | printSc|ripts..r|
|00003700| 65 70 65 61 74 20 77 69 | 74 68 20 63 75 72 43 64 |epeat wi|th curCd|
|00003710| 42 74 6e 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |Btn = 1 |to the n|
|00003720| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 20 62 75 |umber of| card bu|
|00003730| 74 74 6f 6e 73 0d 73 65 | 74 20 63 75 72 73 6f 72 |ttons.se|t cursor|
|00003740| 20 74 6f 20 62 75 73 79 | 0d 2d 2d 20 c6 20 70 72 | to busy|.-- . pr|
|00003750| 69 6e 74 20 63 61 72 64 | 20 62 75 74 74 6f 6e 20 |int card| button |
|00003760| 73 63 72 69 70 74 20 68 | 65 61 64 65 72 20 61 6e |script h|eader an|
|00003770| 64 20 73 63 72 69 70 74 | 0d 70 72 69 6e 74 20 6d |d script|.print m|
|00003780| 61 6b 65 50 53 48 65 61 | 64 65 72 28 22 53 63 72 |akePSHea|der("Scr|
|00003790| 69 70 74 20 6f 66 20 43 | 61 72 64 20 42 75 74 74 |ipt of C|ard Butt|
|000037a0| 6f 6e 22 20 26 26 20 73 | 68 6f 72 74 20 6e 61 6d |on" && s|hort nam|
|000037b0| 65 20 6f 66 20 63 64 20 | 42 74 6e 20 63 75 72 43 |e of cd |Btn curC|
|000037c0| 64 42 74 6e 29 20 c2 0d | 26 20 73 63 72 69 70 74 |dBtn) ..|& script|
|000037d0| 20 6f 66 20 63 61 72 64 | 20 62 75 74 74 6f 6e 20 | of card| button |
|000037e0| 63 75 72 43 64 42 74 6e | 0d 69 66 20 74 68 65 20 |curCdBtn|.if the |
|000037f0| 72 65 73 75 6c 74 20 3c | 3e 20 65 6d 70 74 79 20 |result <|> empty |
|00003800| 74 68 65 6e 20 65 78 69 | 74 20 70 72 69 6e 74 53 |then exi|t printS|
|00003810| 63 72 69 70 74 73 0d 65 | 6e 64 20 72 65 70 65 61 |cripts.e|nd repea|
|00003820| 74 0d 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 63 |t..repea|t with c|
|00003830| 75 72 43 64 46 6c 64 20 | 3d 20 31 20 74 6f 20 74 |urCdFld |= 1 to t|
|00003840| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 61 72 |he numbe|r of car|
|00003850| 64 20 66 69 65 6c 64 73 | 0d 73 65 74 20 63 75 72 |d fields|.set cur|
|00003860| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 2d 2d 20 c6 |sor to b|usy.-- .|
|00003870| 20 70 72 69 6e 74 20 63 | 61 72 64 20 66 69 65 6c | print c|ard fiel|
|00003880| 64 20 73 63 72 69 70 74 | 20 68 65 61 64 65 72 20 |d script| header |
|00003890| 61 6e 64 20 73 63 72 69 | 70 74 0d 70 72 69 6e 74 |and scri|pt.print|
|000038a0| 20 6d 61 6b 65 50 53 48 | 65 61 64 65 72 28 22 53 | makePSH|eader("S|
|000038b0| 63 72 69 70 74 20 6f 66 | 20 43 61 72 64 20 46 69 |cript of| Card Fi|
|000038c0| 65 6c 64 22 20 26 26 20 | 73 68 6f 72 74 20 6e 61 |eld" && |short na|
|000038d0| 6d 65 20 6f 66 20 63 64 | 20 66 6c 64 20 63 75 72 |me of cd| fld cur|
|000038e0| 43 64 46 6c 64 29 20 c2 | 0d 26 20 73 63 72 69 70 |CdFld) .|.& scrip|
|000038f0| 74 20 6f 66 20 63 61 72 | 64 20 66 69 65 6c 64 20 |t of car|d field |
|00003900| 63 75 72 43 64 46 6c 64 | 0d 65 6e 64 20 72 65 70 |curCdFld|.end rep|
|00003910| 65 61 74 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |eat.if t|he resul|
|00003920| 74 20 3c 3e 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |t <> emp|ty then |
|00003930| 65 78 69 74 20 70 72 69 | 6e 74 53 63 72 69 70 74 |exit pri|ntScript|
|00003940| 73 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 0d 73 65 |s.end re|peat..se|
|00003950| 74 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 74 |t lockMe|ssages t|
|00003960| 6f 20 66 61 6c 73 65 0d | 70 6f 70 20 63 61 72 64 |o false.|pop card|
|00003970| 20 2d 2d 20 72 65 74 75 | 72 6e 20 74 6f 20 77 68 | -- retu|rn to wh|
|00003980| 65 72 65 20 77 65 20 77 | 65 72 65 0d 72 65 73 65 |ere we w|ere.rese|
|00003990| 74 20 70 72 69 6e 74 69 | 6e 67 20 2d 2d 20 62 61 |t printi|ng -- ba|
|000039a0| 63 6b 20 74 6f 20 74 68 | 65 20 64 65 66 61 75 6c |ck to th|e defaul|
|000039b0| 74 73 0d 2d 2d 20 c6 20 | 69 6e 66 6f 72 6d 20 74 |ts.-- . |inform t|
|000039c0| 68 65 20 75 73 65 72 20 | 74 68 61 74 20 77 65 27 |he user |that we'|
|000039d0| 76 65 20 66 69 6e 69 73 | 68 65 64 20 74 68 65 20 |ve finis|hed the |
|000039e0| 70 72 69 6e 74 69 6e 67 | 0d 61 6e 73 77 65 72 20 |printing|.answer |
|000039f0| 22 44 6f 6e 65 21 22 0d | 65 6e 64 20 70 72 69 6e |"Done!".|end prin|
|00003a00| 74 53 63 72 69 70 74 73 | 0d 0d 2d 2d 2d 2d 2d 20 |tScripts|..----- |
|00003a10| 20 4e 65 77 4c 69 6e 6b | 20 53 63 72 69 70 74 73 | NewLink| Scripts|
|00003a20| 20 20 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | ------|--------|
|00003a30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003a40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|00003a50| 6f 6e 20 6e 65 77 4c 69 | 6e 6b 20 66 69 6c 65 54 |on newLi|nk fileT|
|00003a60| 79 70 65 0d 2d 2d 20 52 | 65 71 75 69 72 65 73 20 |ype.-- R|equires |
|00003a70| 68 61 6e 64 6c 65 72 73 | 3a 20 64 69 73 61 6c 6c |handlers|: disall|
|00003a80| 6f 77 49 6e 74 65 72 72 | 75 70 74 69 6f 6e 2c 61 |owInterr|uption,a|
|00003a90| 6c 6c 6f 77 49 6e 74 65 | 72 72 75 70 74 69 6f 6e |llowInte|rruption|
|00003aa0| 0d 2d 2d 20 52 65 71 75 | 69 72 65 73 20 68 61 6e |.-- Requ|ires han|
|00003ab0| 64 6c 65 72 73 3a 20 6d | 61 6b 65 4e 65 77 48 43 |dlers: m|akeNewHC|
|00003ac0| 42 75 74 74 6f 6e 2c 64 | 72 61 67 48 43 42 75 74 |Button,d|ragHCBut|
|00003ad0| 74 6f 6e 2c 75 70 64 61 | 74 65 48 43 50 61 74 68 |ton,upda|teHCPath|
|00003ae0| 73 0d 2d 2d 20 52 65 71 | 75 69 72 65 73 20 66 75 |s.-- Req|uires fu|
|00003af0| 6e 63 74 69 6f 6e 20 68 | 61 6e 64 6c 65 72 73 3a |nction h|andlers:|
|00003b00| 20 73 65 6c 65 63 74 48 | 43 46 69 6c 65 2c 6c 61 | selectH|CFile,la|
|00003b10| 73 74 48 43 49 74 65 6d | 2c 67 65 74 48 43 50 61 |stHCItem|,getHCPa|
|00003b20| 74 68 4e 61 6d 65 2c 77 | 72 69 74 65 48 43 53 63 |thName,w|riteHCSc|
|00003b30| 72 69 70 74 0d 2d 2d 20 | 41 6c 6c 6f 77 73 20 79 |ript.-- |Allows y|
|00003b40| 6f 75 20 74 6f 20 73 65 | 6c 65 63 74 20 61 20 73 |ou to se|lect a s|
|00003b50| 74 61 63 6b 2c 20 61 70 | 70 6c 69 63 61 74 69 6f |tack, ap|plicatio|
|00003b60| 6e 20 6f 72 20 64 6f 63 | 75 6d 65 6e 74 20 66 72 |n or doc|ument fr|
|00003b70| 6f 6d 20 61 6e 0d 2d 2d | 20 61 6e 73 77 65 72 20 |om an.--| answer |
|00003b80| 64 69 61 6c 6f 67 2c 20 | 61 6e 64 20 63 72 65 61 |dialog, |and crea|
|00003b90| 74 65 20 61 20 62 75 74 | 74 6f 6e 20 74 6f 20 6f |te a but|ton to o|
|00003ba0| 70 65 6e 20 74 68 61 74 | 20 66 69 6c 65 2e 0d 2d |pen that| file..-|
|00003bb0| 2d 20 54 68 69 73 20 69 | 73 20 74 68 65 20 6d 61 |- This i|s the ma|
|00003bc0| 69 6e 20 6e 65 77 4c 69 | 6e 6b 20 68 61 6e 64 6c |in newLi|nk handl|
|00003bd0| 65 72 20 61 6e 64 20 63 | 61 6e 20 62 65 20 63 61 |er and c|an be ca|
|00003be0| 6c 6c 65 64 20 66 72 6f | 6d 20 61 6e 79 20 73 74 |lled fro|m any st|
|00003bf0| 61 63 6b 0d 0d 70 75 74 | 20 76 69 73 69 62 6c 65 |ack..put| visible|
|00003c00| 20 6f 66 20 6d 73 67 20 | 62 6f 78 20 69 6e 74 6f | of msg |box into|
|00003c10| 20 73 61 76 65 56 69 73 | 4d 73 67 42 6f 78 20 2d | saveVis|MsgBox -|
|00003c20| 2d 20 74 6f 20 72 65 73 | 74 6f 72 65 20 69 74 20 |- to res|tore it |
|00003c30| 6c 61 74 65 72 0d 2d 2d | 20 c6 ca 49 66 20 6e 6f |later.--| ..If no|
|00003c40| 20 66 69 6c 65 20 74 79 | 70 65 20 69 73 20 67 69 | file ty|pe is gi|
|00003c50| 76 65 6e 2c 20 64 65 74 | 65 72 6d 69 6e 65 20 77 |ven, det|ermine w|
|00003c60| 68 61 74 20 74 79 70 65 | 20 6f 66 20 66 69 6c 65 |hat type| of file|
|00003c70| 20 74 6f 20 6c 69 6e 6b | 20 74 6f 0d 69 66 20 28 | to link| to.if (|
|00003c80| 66 69 6c 65 54 79 70 65 | 20 69 73 20 6e 6f 74 20 |fileType| is not |
|00003c90| 69 6e 20 22 73 74 61 63 | 6b 20 64 6f 63 75 6d 65 |in "stac|k docume|
|00003ca0| 6e 74 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 66 |nt appli|cation f|
|00003cb0| 69 6c 65 22 29 20 74 68 | 65 6e 0d 61 6e 73 77 65 |ile") th|en.answe|
|00003cc0| 72 20 22 43 72 65 61 74 | 65 20 62 75 74 74 6f 6e |r "Creat|e button|
|00003cd0| 20 6c 69 6e 6b 65 64 20 | 74 6f 20 61 20 73 74 61 | linked |to a sta|
|00003ce0| 63 6b 20 6f 72 20 66 69 | 6c 65 3f 22 20 c2 0d 77 |ck or fi|le?" ..w|
|00003cf0| 69 74 68 20 22 43 61 6e | 63 65 6c 22 20 6f 72 20 |ith "Can|cel" or |
|00003d00| 22 46 69 6c 65 22 20 6f | 72 20 22 53 74 61 63 6b |"File" o|r "Stack|
|00003d10| 22 0d 69 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |".if it |is empty|
|00003d20| 20 6f 72 20 69 74 20 69 | 73 20 22 43 61 6e 63 65 | or it i|s "Cance|
|00003d30| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 6e 65 77 |l" then |exit new|
|00003d40| 4c 69 6e 6b 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |Link.put| it into|
|00003d50| 20 66 69 6c 65 54 79 70 | 65 0d 65 6e 64 20 69 66 | fileTyp|e.end if|
|00003d60| 0d 0d 2d 2d 20 c6 20 69 | 66 20 69 74 27 73 20 61 |..-- . i|f it's a|
|00003d70| 20 66 69 6c 65 20 64 65 | 74 65 72 6d 69 6e 65 20 | file de|termine |
|00003d80| 77 68 61 74 20 6b 69 6e | 64 20 6f 66 20 66 69 6c |what kin|d of fil|
|00003d90| 65 20 69 74 20 69 73 0d | 69 66 20 66 69 6c 65 54 |e it is.|if fileT|
|00003da0| 79 70 65 20 69 73 20 22 | 46 69 6c 65 22 20 74 68 |ype is "|File" th|
|00003db0| 65 6e 0d 61 6e 73 77 65 | 72 20 22 43 72 65 61 74 |en.answe|r "Creat|
|00003dc0| 65 20 62 75 74 74 6f 6e | 20 6c 69 6e 6b 65 64 20 |e button| linked |
|00003dd0| 74 6f 20 61 20 64 6f 63 | 75 6d 65 6e 74 20 6f 72 |to a doc|ument or|
|00003de0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 3f 22 20 77 | applica|tion?" w|
|00003df0| 69 74 68 20 c2 0d 22 43 | 61 6e 63 65 6c 22 20 6f |ith .."C|ancel" o|
|00003e00| 72 20 22 44 6f 63 75 6d | 65 6e 74 22 20 6f 72 20 |r "Docum|ent" or |
|00003e10| 22 41 70 70 6c 69 63 61 | 74 69 6f 6e 22 0d 69 66 |"Applica|tion".if|
|00003e20| 20 69 74 20 69 73 20 65 | 6d 70 74 79 20 6f 72 20 | it is e|mpty or |
|00003e30| 69 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |it is "C|ancel" t|
|00003e40| 68 65 6e 20 20 65 78 69 | 74 20 6e 65 77 4c 69 6e |hen exi|t newLin|
|00003e50| 6b 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 66 69 |k.put it| into fi|
|00003e60| 6c 65 54 79 70 65 0d 65 | 6e 64 20 69 66 0d 0d 64 |leType.e|nd if..d|
|00003e70| 69 73 61 6c 6c 6f 77 49 | 6e 74 65 72 72 75 70 74 |isallowI|nterrupt|
|00003e80| 69 6f 6e 0d 2d 2d 20 c6 | 20 73 65 6c 65 63 74 73 |ion.-- .| selects|
|00003e90| 20 74 68 65 20 73 74 61 | 63 6b 2c 20 61 70 70 6c | the sta|ck, appl|
|00003ea0| 69 63 61 74 69 6f 6e 2c | 20 6f 72 20 64 6f 63 75 |ication,| or docu|
|00003eb0| 6d 65 6e 74 20 74 6f 20 | 6c 69 6e 6b 20 74 6f 0d |ment to |link to.|
|00003ec0| 70 75 74 20 22 53 65 6c | 65 63 74 20 74 68 65 22 |put "Sel|ect the"|
|00003ed0| 20 26 26 20 66 69 6c 65 | 54 79 70 65 20 26 26 20 | && file|Type && |
|00003ee0| 22 74 6f 20 6f 70 65 6e | 3a 22 20 69 6e 74 6f 20 |"to open|:" into |
|00003ef0| 70 72 6f 6d 70 74 0d 69 | 66 20 66 69 6c 65 54 79 |prompt.i|f fileTy|
|00003f00| 70 65 20 69 73 20 22 53 | 74 61 63 6b 22 20 74 68 |pe is "S|tack" th|
|00003f10| 65 6e 20 70 75 74 20 22 | 53 54 41 4b 22 20 69 6e |en put "|STAK" in|
|00003f20| 74 6f 20 66 69 6c 74 65 | 72 0d 65 6c 73 65 20 69 |to filte|r.else i|
|00003f30| 66 20 66 69 6c 65 74 79 | 70 65 20 69 73 20 22 41 |f filety|pe is "A|
|00003f40| 70 70 6c 69 63 61 74 69 | 6f 6e 22 20 74 68 65 6e |pplicati|on" then|
|00003f50| 20 70 75 74 20 22 41 50 | 50 4c 22 20 69 6e 74 6f | put "AP|PL" into|
|00003f60| 20 66 69 6c 74 65 72 0d | 65 6c 73 65 20 70 75 74 | filter.|else put|
|00003f70| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 66 69 6c 74 | empty i|nto filt|
|00003f80| 65 72 20 2d 2d 20 6e 6f | 20 77 61 79 20 74 6f 20 |er -- no| way to |
|00003f90| 73 68 6f 77 20 6f 6e 6c | 79 20 64 6f 63 75 6d 65 |show onl|y docume|
|00003fa0| 6e 74 73 0d 70 75 74 20 | 73 65 6c 65 63 74 48 43 |nts.put |selectHC|
|00003fb0| 46 69 6c 65 28 70 72 6f | 6d 70 74 2c 66 69 6c 74 |File(pro|mpt,filt|
|00003fc0| 65 72 29 20 69 6e 74 6f | 20 6c 6f 6e 67 46 69 6c |er) into| longFil|
|00003fd0| 65 4e 61 6d 65 20 2d 2d | 20 66 75 6c 6c 20 70 61 |eName --| full pa|
|00003fe0| 74 68 0d 70 75 74 20 6c | 61 73 74 48 43 49 74 65 |th.put l|astHCIte|
|00003ff0| 6d 28 22 3a 22 2c 6c 6f | 6e 67 46 69 6c 65 4e 61 |m(":",lo|ngFileNa|
|00004000| 6d 65 29 20 69 6e 74 6f | 20 73 68 6f 72 74 46 69 |me) into| shortFi|
|00004010| 6c 65 4e 61 6d 65 0d 73 | 65 74 20 63 75 72 73 6f |leName.s|et curso|
|00004020| 72 20 74 6f 20 77 61 74 | 63 68 0d 0d 2d 2d 20 c6 |r to wat|ch..-- .|
|00004030| ca 69 66 20 64 6f 63 75 | 6d 65 6e 74 20 69 73 20 |.if docu|ment is |
|00004040| 63 68 6f 73 65 6e 2c 20 | 67 65 74 20 61 70 70 6c |chosen, |get appl|
|00004050| 69 63 61 74 69 6f 6e 20 | 74 6f 20 6f 70 65 6e 20 |ication |to open |
|00004060| 69 74 2e 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |it..put |empty in|
|00004070| 74 6f 20 6c 6f 6e 67 41 | 70 70 4e 61 6d 65 0d 69 |to longA|ppName.i|
|00004080| 66 20 66 69 6c 65 54 79 | 70 65 20 69 73 20 22 64 |f fileTy|pe is "d|
|00004090| 6f 63 75 6d 65 6e 74 22 | 20 74 68 65 6e 0d 70 75 |ocument"| then.pu|
|000040a0| 74 20 22 53 65 6c 65 63 | 74 20 74 68 65 20 61 70 |t "Selec|t the ap|
|000040b0| 70 6c 69 63 61 74 69 6f | 6e 20 74 6f 20 6f 70 65 |plicatio|n to ope|
|000040c0| 6e 22 20 26 20 72 65 74 | 75 72 6e 20 c2 0d 26 20 |n" & ret|urn ..& |
|000040d0| 22 d2 22 20 26 20 73 68 | 6f 72 74 46 69 6c 65 4e |"." & sh|ortFileN|
|000040e0| 61 6d 65 20 26 20 22 d3 | 22 20 26 20 22 3a 22 20 |ame & ".|" & ":" |
|000040f0| 69 6e 74 6f 20 70 72 6f | 6d 70 74 0d 70 75 74 20 |into pro|mpt.put |
|00004100| 73 65 6c 65 63 74 48 43 | 46 69 6c 65 28 70 72 6f |selectHC|File(pro|
|00004110| 6d 70 74 2c 22 41 50 50 | 4c 22 29 20 69 6e 74 6f |mpt,"APP|L") into|
|00004120| 20 6c 6f 6e 67 41 70 70 | 4e 61 6d 65 20 2d 2d 20 | longApp|Name -- |
|00004130| 66 75 6c 6c 20 70 61 74 | 68 0d 70 75 74 20 6c 61 |full pat|h.put la|
|00004140| 73 74 48 43 49 74 65 6d | 28 22 3a 22 2c 6c 6f 6e |stHCItem|(":",lon|
|00004150| 67 41 70 70 4e 61 6d 65 | 29 20 69 6e 74 6f 20 73 |gAppName|) into s|
|00004160| 68 6f 72 74 41 70 70 4e | 61 6d 65 0d 65 6e 64 20 |hortAppN|ame.end |
|00004170| 69 66 0d 0d 2d 2d 20 20 | 65 78 74 72 61 63 74 20 |if..-- |extract |
|00004180| 74 68 65 20 66 69 6c 65 | 20 70 61 74 68 20 66 72 |the file| path fr|
|00004190| 6f 6d 20 74 68 65 20 66 | 75 6c 6c 20 70 61 74 68 |om the f|ull path|
|000041a0| 20 6e 61 6d 65 0d 70 75 | 74 20 67 65 74 48 43 50 | name.pu|t getHCP|
|000041b0| 61 74 68 4e 61 6d 65 28 | 6c 6f 6e 67 46 69 6c 65 |athName(|longFile|
|000041c0| 4e 61 6d 65 29 20 69 6e | 74 6f 20 74 68 65 50 61 |Name) in|to thePa|
|000041d0| 74 68 0d 2d 2d 20 20 6d | 61 6b 65 20 61 20 6e 65 |th.-- m|ake a ne|
|000041e0| 77 20 62 75 74 74 6f 6e | 20 66 6f 72 20 74 68 65 |w button| for the|
|000041f0| 20 6c 69 6e 6b 65 64 20 | 66 69 6c 65 0d 6d 61 6b | linked |file.mak|
|00004200| 65 4e 65 77 48 43 42 75 | 74 74 6f 6e 20 73 68 6f |eNewHCBu|tton sho|
|00004210| 72 74 46 69 6c 65 4e 61 | 6d 65 2c 66 69 6c 65 54 |rtFileNa|me,fileT|
|00004220| 79 70 65 0d 2d 2d 20 20 | 77 72 69 74 65 20 74 68 |ype.-- |write th|
|00004230| 65 20 73 63 72 69 70 74 | 20 66 6f 72 20 74 68 65 |e script| for the|
|00004240| 20 6e 65 77 20 62 75 74 | 74 6f 6e 0d 73 65 74 20 | new but|ton.set |
|00004250| 73 63 72 69 70 74 20 6f | 66 20 6c 61 73 74 20 63 |script o|f last c|
|00004260| 64 20 62 74 6e 20 74 6f | 20 c2 0d 77 72 69 74 65 |d btn to| ..write|
|00004270| 48 43 53 63 72 69 70 74 | 28 66 69 6c 65 54 79 70 |HCScript|(fileTyp|
|00004280| 65 2c 73 68 6f 72 74 46 | 69 6c 65 4e 61 6d 65 2c |e,shortF|ileName,|
|00004290| 73 68 6f 72 74 41 70 70 | 4e 61 6d 65 29 0d 2d 2d |shortApp|Name).--|
|000042a0| 20 20 61 6c 6c 6f 77 20 | 74 68 65 20 75 73 65 72 | allow |the user|
|000042b0| 20 74 6f 20 73 65 74 20 | 74 68 65 20 70 6f 73 69 | to set |the posi|
|000042c0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 6e 65 77 20 |tion of |the new |
|000042d0| 62 75 74 74 6f 6e 0d 70 | 75 74 20 22 63 61 72 64 |button.p|ut "card|
|000042e0| 20 62 75 74 74 6f 6e 20 | 69 64 22 20 26 26 20 69 | button |id" && i|
|000042f0| 64 20 6f 66 20 6c 61 73 | 74 20 63 61 72 64 20 62 |d of las|t card b|
|00004300| 75 74 74 6f 6e 20 69 6e | 74 6f 20 62 74 6e 49 44 |utton in|to btnID|
|00004310| 0d 64 72 61 67 48 43 42 | 75 74 74 6f 6e 20 62 74 |.dragHCB|utton bt|
|00004320| 6e 49 44 20 2d 2d 20 75 | 73 65 72 20 63 61 6e 20 |nID -- u|ser can |
|00004330| 6e 6f 77 20 6d 6f 76 65 | 20 69 74 0d 2d 2d 20 75 |now move| it.-- u|
|00004340| 70 64 61 74 65 20 74 68 | 65 20 22 50 61 74 68 73 |pdate th|e "Paths|
|00004350| 22 20 66 69 65 6c 64 20 | 6f 6e 20 74 68 65 20 70 |" field |on the p|
|00004360| 72 6f 70 65 72 20 22 50 | 61 74 68 22 20 63 61 72 |roper "P|ath" car|
|00004370| 64 0d 75 70 64 61 74 65 | 48 43 50 61 74 68 73 20 |d.update|HCPaths |
|00004380| 66 69 6c 65 54 79 70 65 | 2c 74 68 65 50 61 74 68 |fileType|,thePath|
|00004390| 0d 69 66 20 6c 6f 6e 67 | 41 70 70 4e 61 6d 65 20 |.if long|AppName |
|000043a0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|000043b0| 6e 20 20 2d 2d 20 20 66 | 6f 72 20 61 20 64 6f 63 |n -- f|or a doc|
|000043c0| 75 6d 65 6e 74 27 73 20 | 61 70 70 0d 70 75 74 20 |ument's |app.put |
|000043d0| 67 65 74 48 43 50 61 74 | 68 4e 61 6d 65 28 6c 6f |getHCPat|hName(lo|
|000043e0| 6e 67 41 70 70 4e 61 6d | 65 29 20 69 6e 74 6f 20 |ngAppNam|e) into |
|000043f0| 61 70 70 50 61 74 68 0d | 75 70 64 61 74 65 48 43 |appPath.|updateHC|
|00004400| 50 61 74 68 73 20 22 61 | 70 70 6c 69 63 61 74 69 |Paths "a|pplicati|
|00004410| 6f 6e 22 2c 61 70 70 50 | 61 74 68 0d 65 6e 64 20 |on",appP|ath.end |
|00004420| 69 66 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |if.put e|mpty int|
|00004430| 6f 20 6d 73 67 20 2d 2d | 20 63 6c 65 61 6e 20 75 |o msg --| clean u|
|00004440| 70 20 61 6e 64 20 65 78 | 69 74 0d 73 65 74 20 76 |p and ex|it.set v|
|00004450| 69 73 69 62 6c 65 20 6f | 66 20 6d 73 67 20 62 6f |isible o|f msg bo|
|00004460| 78 20 74 6f 20 73 61 76 | 65 56 69 73 4d 73 67 42 |x to sav|eVisMsgB|
|00004470| 6f 78 20 2d 2d 20 72 65 | 73 74 6f 72 65 20 69 74 |ox -- re|store it|
|00004480| 0d 61 6c 6c 6f 77 49 6e | 74 65 72 72 75 70 74 69 |.allowIn|terrupti|
|00004490| 6f 6e 0d 65 6e 64 20 6e | 65 77 4c 69 6e 6b 0d 0d |on.end n|ewLink..|
|000044a0| 66 75 6e 63 74 69 6f 6e | 20 73 65 6c 65 63 74 48 |function| selectH|
|000044b0| 43 46 69 6c 65 20 70 72 | 6f 6d 70 74 2c 66 69 6c |CFile pr|ompt,fil|
|000044c0| 74 65 72 0d 2d 2d 20 64 | 69 73 70 6c 61 79 73 20 |ter.-- d|isplays |
|000044d0| 64 69 61 6c 6f 67 20 66 | 6f 72 20 73 65 6c 65 63 |dialog f|or selec|
|000044e0| 74 69 6f 6e 20 6f 66 20 | 61 20 70 61 72 74 69 63 |tion of |a partic|
|000044f0| 75 6c 61 72 20 66 69 6c | 65 54 79 70 65 0d 69 66 |ular fil|eType.if|
|00004500| 20 66 69 6c 74 65 72 20 | 69 73 20 6e 6f 74 20 65 | filter |is not e|
|00004510| 6d 70 74 79 20 74 68 65 | 6e 20 61 6e 73 77 65 72 |mpty the|n answer|
|00004520| 20 66 69 6c 65 20 70 72 | 6f 6d 70 74 20 6f 66 20 | file pr|ompt of |
|00004530| 74 79 70 65 20 66 69 6c | 74 65 72 0d 65 6c 73 65 |type fil|ter.else|
|00004540| 20 61 6e 73 77 65 72 20 | 66 69 6c 65 20 70 72 6f | answer |file pro|
|00004550| 6d 70 74 0d 69 66 20 28 | 69 74 20 69 73 20 65 6d |mpt.if (|it is em|
|00004560| 70 74 79 29 20 6f 72 20 | 28 74 68 65 20 72 65 73 |pty) or |(the res|
|00004570| 75 6c 74 20 3d 20 22 43 | 61 6e 63 65 6c 22 29 0d |ult = "C|ancel").|
|00004580| 74 68 65 6e 20 65 78 69 | 74 20 74 6f 20 48 79 70 |then exi|t to Hyp|
|00004590| 65 72 43 61 72 64 0d 72 | 65 74 75 72 6e 20 69 74 |erCard.r|eturn it|
|000045a0| 20 2d 2d 20 6f 74 68 65 | 72 77 69 73 65 20 72 65 | -- othe|rwise re|
|000045b0| 74 75 72 6e 20 74 68 65 | 20 73 65 6c 65 63 74 65 |turn the| selecte|
|000045c0| 64 20 66 69 6c 65 20 70 | 61 74 68 0d 65 6e 64 20 |d file p|ath.end |
|000045d0| 73 65 6c 65 63 74 48 43 | 46 69 6c 65 0d 0d 66 75 |selectHC|File..fu|
|000045e0| 6e 63 74 69 6f 6e 20 6c | 61 73 74 48 43 49 74 65 |nction l|astHCIte|
|000045f0| 6d 20 64 65 6c 69 6d 2c | 74 68 65 54 65 78 74 0d |m delim,|theText.|
|00004600| 2d 2d 20 52 65 71 75 69 | 72 65 73 20 68 61 6e 64 |-- Requi|res hand|
|00004610| 6c 65 72 3a 20 6c 61 73 | 74 48 43 49 74 65 6d 0d |ler: las|tHCItem.|
|00004620| 2d 2d 20 72 65 74 75 72 | 6e 73 20 74 68 65 20 70 |-- retur|ns the p|
|00004630| 6f 72 74 69 6f 6e 20 6f | 66 20 3c 74 68 65 54 65 |ortion o|f <theTe|
|00004640| 78 74 3e 20 74 68 61 74 | 20 66 6f 6c 6c 6f 77 73 |xt> that| follows|
|00004650| 20 74 68 65 20 6c 61 73 | 74 20 3c 64 65 6c 69 6d | the las|t <delim|
|00004660| 3e 0d 2d 2d 20 4e 6f 74 | 65 3a 20 74 68 69 73 20 |>.-- Not|e: this |
|00004670| 68 61 6e 64 6c 65 72 20 | 63 61 6c 6c 73 20 69 74 |handler |calls it|
|00004680| 73 65 6c 66 20 72 65 63 | 75 72 73 69 76 65 6c 79 |self rec|ursively|
|00004690| 20 66 6f 72 20 73 70 65 | 65 64 0d 69 66 20 64 65 | for spe|ed.if de|
|000046a0| 6c 69 6d 20 69 73 20 69 | 6e 20 74 68 65 54 65 78 |lim is i|n theTex|
|000046b0| 74 20 74 68 65 6e 0d 70 | 75 74 20 6c 61 73 74 48 |t then.p|ut lastH|
|000046c0| 43 49 74 65 6d 28 64 65 | 6c 69 6d 2c 63 68 61 72 |CItem(de|lim,char|
|000046d0| 20 6f 66 66 73 65 74 28 | 64 65 6c 69 6d 2c 74 68 | offset(|delim,th|
|000046e0| 65 54 65 78 74 29 20 2b | 20 31 20 74 6f 20 c2 0d |eText) +| 1 to ..|
|000046f0| 6c 65 6e 67 74 68 28 74 | 68 65 54 65 78 74 29 20 |length(t|heText) |
|00004700| 6f 66 20 74 68 65 54 65 | 78 74 29 20 69 6e 74 6f |of theTe|xt) into|
|00004710| 20 74 68 65 54 65 78 74 | 0d 65 6e 64 20 69 66 0d | theText|.end if.|
|00004720| 72 65 74 75 72 6e 20 74 | 68 65 54 65 78 74 0d 65 |return t|heText.e|
|00004730| 6e 64 20 6c 61 73 74 48 | 43 49 74 65 6d 0d 0d 66 |nd lastH|CItem..f|
|00004740| 75 6e 63 74 69 6f 6e 20 | 67 65 74 48 43 50 61 74 |unction |getHCPat|
|00004750| 68 4e 61 6d 65 20 6c 6f | 6e 67 4e 61 6d 65 0d 2d |hName lo|ngName.-|
|00004760| 2d 20 52 65 71 75 69 72 | 65 73 20 68 61 6e 64 6c |- Requir|es handl|
|00004770| 65 72 3a 20 6c 61 73 74 | 48 43 49 74 65 6d 0d 2d |er: last|HCItem.-|
|00004780| 2d 20 72 65 74 75 72 6e | 20 74 68 65 20 70 61 74 |- return| the pat|
|00004790| 68 20 74 6f 20 74 68 65 | 20 66 69 6c 65 0d 70 75 |h to the| file.pu|
|000047a0| 74 20 6c 61 73 74 48 43 | 49 74 65 6d 28 22 3a 22 |t lastHC|Item(":"|
|000047b0| 2c 6c 6f 6e 67 4e 61 6d | 65 29 20 69 6e 74 6f 20 |,longNam|e) into |
|000047c0| 66 69 6c 65 4e 61 6d 65 | 0d 72 65 74 75 72 6e 20 |fileName|.return |
|000047d0| 63 68 61 72 20 31 20 74 | 6f 20 28 6c 65 6e 67 74 |char 1 t|o (lengt|
|000047e0| 68 28 6c 6f 6e 67 4e 61 | 6d 65 29 20 2d 20 6c 65 |h(longNa|me) - le|
|000047f0| 6e 67 74 68 28 66 69 6c | 65 4e 61 6d 65 29 29 20 |ngth(fil|eName)) |
|00004800| 6f 66 20 6c 6f 6e 67 4e | 61 6d 65 0d 65 6e 64 20 |of longN|ame.end |
|00004810| 67 65 74 48 43 50 61 74 | 68 4e 61 6d 65 0d 0d 6f |getHCPat|hName..o|
|00004820| 6e 20 6d 61 6b 65 4e 65 | 77 48 43 42 75 74 74 6f |n makeNe|wHCButto|
|00004830| 6e 20 73 68 6f 72 74 4e | 61 6d 65 2c 69 63 6f 6e |n shortN|ame,icon|
|00004840| 54 79 70 65 0d 2d 2d 20 | 52 65 71 75 69 72 65 73 |Type.-- |Requires|
|00004850| 20 68 61 6e 64 6c 65 72 | 73 3a 20 73 65 74 55 73 | handler|s: setUs|
|00004860| 65 72 4c 65 76 65 6c 46 | 69 76 65 2c 72 65 73 74 |erLevelF|ive,rest|
|00004870| 6f 72 65 55 73 65 72 4c | 65 76 65 6c 0d 2d 2d 20 |oreUserL|evel.-- |
|00004880| 20 63 72 65 61 74 65 20 | 61 20 6e 65 77 20 62 75 | create |a new bu|
|00004890| 74 74 6f 6e 20 61 6e 64 | 20 73 65 74 20 69 74 27 |tton and| set it'|
|000048a0| 73 20 6e 61 6d 65 20 61 | 6e 64 20 69 63 6f 6e 0d |s name a|nd icon.|
|000048b0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 73 65 74 55 |lock scr|een.setU|
|000048c0| 73 65 72 4c 65 76 65 6c | 46 69 76 65 0d 2d 2d 20 |serLevel|Five.-- |
|000048d0| c6 20 6e 65 65 64 20 75 | 73 65 72 20 6c 65 76 65 |. need u|ser leve|
|000048e0| 6c 20 66 69 76 65 20 73 | 6f 20 6d 65 6e 75 20 69 |l five s|o menu i|
|000048f0| 74 65 6d 20 77 69 6c 6c | 20 62 65 20 74 68 65 72 |tem will| be ther|
|00004900| 65 0d 64 6f 4d 65 6e 75 | 20 22 4e 65 77 20 42 75 |e.doMenu| "New Bu|
|00004910| 74 74 6f 6e 22 0d 2d 2d | 20 73 65 74 20 61 74 74 |tton".--| set att|
|00004920| 72 69 62 75 74 65 73 20 | 6f 66 20 6e 65 77 20 62 |ributes |of new b|
|00004930| 75 74 74 6f 6e 0d 73 65 | 74 20 73 74 79 6c 65 20 |utton.se|t style |
|00004940| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|00004950| 74 6f 6e 20 74 6f 20 74 | 72 61 6e 73 70 61 72 65 |ton to t|ranspare|
|00004960| 6e 74 0d 73 65 74 20 73 | 68 6f 77 4e 61 6d 65 20 |nt.set s|howName |
|00004970| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|00004980| 74 6f 6e 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |ton to t|rue.set |
|00004990| 61 75 74 6f 48 69 6c 69 | 74 65 20 6f 66 20 6c 61 |autoHili|te of la|
|000049a0| 73 74 20 63 61 72 64 20 | 62 75 74 74 6f 6e 20 74 |st card |button t|
|000049b0| 6f 20 74 72 75 65 0d 73 | 65 74 20 74 65 78 74 46 |o true.s|et textF|
|000049c0| 6f 6e 74 20 6f 66 20 6c | 61 73 74 20 63 61 72 64 |ont of l|ast card|
|000049d0| 20 62 75 74 74 6f 6e 20 | 74 6f 20 22 47 65 6e 65 | button |to "Gene|
|000049e0| 76 61 22 0d 73 65 74 20 | 74 65 78 74 53 69 7a 65 |va".set |textSize|
|000049f0| 20 6f 66 20 6c 61 73 74 | 20 63 61 72 64 20 62 75 | of last| card bu|
|00004a00| 74 74 6f 6e 20 74 6f 20 | 31 30 0d 73 65 74 20 6e |tton to |10.set n|
|00004a10| 61 6d 65 20 6f 66 20 6c | 61 73 74 20 63 61 72 64 |ame of l|ast card|
|00004a20| 20 62 75 74 74 6f 6e 20 | 74 6f 20 73 68 6f 72 74 | button |to short|
|00004a30| 4e 61 6d 65 0d 73 65 74 | 20 68 65 69 67 68 74 20 |Name.set| height |
|00004a40| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|00004a50| 74 6f 6e 20 74 6f 20 35 | 32 0d 73 65 74 20 69 63 |ton to 5|2.set ic|
|00004a60| 6f 6e 20 6f 66 20 6c 61 | 73 74 20 63 61 72 64 20 |on of la|st card |
|00004a70| 62 75 74 74 6f 6e 20 74 | 6f 20 69 63 6f 6e 54 79 |button t|o iconTy|
|00004a80| 70 65 0d 2d 2d 20 64 6f | 6e 27 74 20 6c 65 74 20 |pe.-- do|n't let |
|00004a90| 74 68 65 20 62 75 74 74 | 6f 6e 20 62 65 20 74 6f |the butt|on be to|
|00004aa0| 6f 20 73 6c 69 6d 0d 69 | 66 20 6c 65 6e 67 74 68 |o slim.i|f length|
|00004ab0| 28 73 68 6f 72 74 4e 61 | 6d 65 29 20 2a 20 36 20 |(shortNa|me) * 6 |
|00004ac0| 3e 20 33 36 20 74 68 65 | 6e 0d 73 65 74 20 77 69 |> 36 the|n.set wi|
|00004ad0| 64 74 68 20 6f 66 20 6c | 61 73 74 20 63 61 72 64 |dth of l|ast card|
|00004ae0| 20 62 75 74 74 6f 6e 20 | 74 6f 20 6c 65 6e 67 74 | button |to lengt|
|00004af0| 68 28 73 68 6f 72 74 4e | 61 6d 65 29 20 2a 20 36 |h(shortN|ame) * 6|
|00004b00| 0d 65 6c 73 65 20 73 65 | 74 20 77 69 64 74 68 20 |.else se|t width |
|00004b10| 6f 66 20 6c 61 73 74 20 | 63 61 72 64 20 62 75 74 |of last |card but|
|00004b20| 74 6f 6e 20 74 6f 20 33 | 36 0d 63 68 6f 6f 73 65 |ton to 3|6.choose|
|00004b30| 20 62 72 6f 77 73 65 20 | 74 6f 6f 6c 0d 72 65 73 | browse |tool.res|
|00004b40| 74 6f 72 65 55 73 65 72 | 4c 65 76 65 6c 0d 75 6e |toreUser|Level.un|
|00004b50| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 65 6e 64 20 |lock scr|een.end |
|00004b60| 6d 61 6b 65 4e 65 77 48 | 43 42 75 74 74 6f 6e 0d |makeNewH|CButton.|
|00004b70| 0d 66 75 6e 63 74 69 6f | 6e 20 6d 65 6d 45 72 72 |.functio|n memErr|
|00004b80| 6f 72 53 63 72 69 70 74 | 20 61 70 70 4e 61 6d 65 |orScript| appName|
|00004b90| 0d 2d 2d 20 c6 20 72 65 | 74 75 72 6e 73 20 61 20 |.-- . re|turns a |
|00004ba0| 73 63 72 69 70 74 20 75 | 73 65 64 20 69 6e 20 6d |script u|sed in m|
|00004bb0| 61 6e 79 20 70 6c 61 63 | 65 73 0d 72 65 74 75 72 |any plac|es.retur|
|00004bc0| 6e 20 22 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |n "if th|e result|
|00004bd0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004be0| 65 6e 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |en" & re|turn & .|
|00004bf0| 0d 22 62 65 65 70 20 31 | 22 20 26 20 72 65 74 75 |."beep 1|" & retu|
|00004c00| 72 6e 20 26 20 c2 0d 22 | 61 6e 73 77 65 72 22 20 |rn & .."|answer" |
|00004c10| 26 26 20 71 75 6f 74 65 | 20 26 20 22 4e 6f 74 20 |&& quote| & "Not |
|00004c20| 65 6e 6f 75 67 68 20 6d | 65 6d 6f 72 79 20 74 6f |enough m|emory to|
|00004c30| 20 6f 70 65 6e 20 74 68 | 65 20 61 70 70 6c 69 63 | open th|e applic|
|00004c40| 61 74 69 6f 6e 20 d2 22 | 20 c2 0d 26 20 61 70 70 |ation ."| ..& app|
|00004c50| 4e 61 6d 65 20 26 20 22 | d3 2e 22 20 26 20 71 75 |Name & "|.." & qu|
|00004c60| 6f 74 65 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |ote & re|turn & .|
|00004c70| 0d 22 65 6e 64 20 69 66 | 22 0d 65 6e 64 20 6d 65 |."end if|".end me|
|00004c80| 6d 45 72 72 6f 72 53 63 | 72 69 70 74 0d 0d 66 75 |mErrorSc|ript..fu|
|00004c90| 6e 63 74 69 6f 6e 20 77 | 72 69 74 65 48 43 53 63 |nction w|riteHCSc|
|00004ca0| 72 69 70 74 20 66 69 6c | 65 54 79 70 65 2c 66 69 |ript fil|eType,fi|
|00004cb0| 6c 65 4e 61 6d 65 2c 61 | 70 70 6c 4e 61 6d 65 0d |leName,a|pplName.|
|00004cc0| 2d 2d 20 52 65 71 75 69 | 72 65 73 20 68 61 6e 64 |-- Requi|res hand|
|00004cd0| 6c 65 72 3a 20 6d 65 6d | 45 72 72 6f 72 53 63 72 |ler: mem|ErrorScr|
|00004ce0| 69 70 74 0d 2d 2d 20 c6 | 20 63 72 65 61 74 65 73 |ipt.-- .| creates|
|00004cf0| 20 61 6e 64 20 77 72 69 | 74 65 73 20 74 68 65 20 | and wri|tes the |
|00004d00| 73 63 72 69 70 74 20 66 | 6f 72 20 74 68 65 20 6e |script f|or the n|
|00004d10| 65 77 20 62 75 74 74 6f | 6e 20 2d 2d 20 73 65 65 |ew butto|n -- see|
|00004d20| 20 6d 61 6b 65 4e 65 77 | 48 43 42 75 74 74 6f 6e | makeNew|HCButton|
|00004d30| 0d 70 75 74 20 22 6f 6e | 20 6d 6f 75 73 65 55 70 |.put "on| mouseUp|
|00004d40| 22 20 26 20 72 65 74 75 | 72 6e 20 69 6e 74 6f 20 |" & retu|rn into |
|00004d50| 74 68 65 53 63 72 69 70 | 74 0d 69 66 20 66 69 6c |theScrip|t.if fil|
|00004d60| 65 54 79 70 65 20 69 73 | 20 22 73 74 61 63 6b 22 |eType is| "stack"|
|00004d70| 20 20 74 68 65 6e 0d 70 | 75 74 20 22 2d 2d 20 73 | then.p|ut "-- s|
|00004d80| 74 61 63 6b 20 77 69 6c | 6c 20 6f 70 65 6e 20 69 |tack wil|l open i|
|00004d90| 6e 20 6e 65 77 20 77 69 | 6e 64 6f 77 20 69 66 20 |n new wi|ndow if |
|00004da0| 74 68 65 72 65 27 73 20 | 65 6e 6f 75 67 68 20 6d |there's |enough m|
|00004db0| 65 6d 6f 72 79 22 20 26 | 20 72 65 74 75 72 6e 20 |emory" &| return |
|00004dc0| c2 0d 26 20 22 67 6f 20 | 74 6f 20 73 74 61 63 6b |..& "go |to stack|
|00004dd0| 22 20 26 26 20 71 75 6f | 74 65 20 26 20 66 69 6c |" && quo|te & fil|
|00004de0| 65 4e 61 6d 65 20 26 20 | 71 75 6f 74 65 20 26 26 |eName & |quote &&|
|00004df0| 20 22 69 6e 20 61 20 6e | 65 77 20 77 69 6e 64 6f | "in a n|ew windo|
|00004e00| 77 22 20 26 20 72 65 74 | 75 72 6e 20 c2 0d 26 20 |w" & ret|urn ..& |
|00004e10| 22 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 3c |"if the |result <|
|00004e20| 3e 20 65 6d 70 74 79 20 | 74 68 65 6e 20 67 6f 20 |> empty |then go |
|00004e30| 74 6f 20 73 74 61 63 6b | 22 20 26 26 20 71 75 6f |to stack|" && quo|
|00004e40| 74 65 20 26 20 66 69 6c | 65 4e 61 6d 65 20 26 20 |te & fil|eName & |
|00004e50| 71 75 6f 74 65 20 26 20 | 72 65 74 75 72 6e 20 61 |quote & |return a|
|00004e60| 66 74 65 72 20 74 68 65 | 53 63 72 69 70 74 0d 65 |fter the|Script.e|
|00004e70| 6c 73 65 20 69 66 20 66 | 69 6c 65 54 79 70 65 20 |lse if f|ileType |
|00004e80| 69 73 20 22 61 70 70 6c | 69 63 61 74 69 6f 6e 22 |is "appl|ication"|
|00004e90| 20 74 68 65 6e 0d 70 75 | 74 20 22 6f 70 65 6e 22 | then.pu|t "open"|
|00004ea0| 20 26 26 20 71 75 6f 74 | 65 20 26 20 66 69 6c 65 | && quot|e & file|
|00004eb0| 4e 61 6d 65 20 26 20 71 | 75 6f 74 65 20 26 20 72 |Name & q|uote & r|
|00004ec0| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 68 65 53 |eturn af|ter theS|
|00004ed0| 63 72 69 70 74 0d 70 75 | 74 20 6d 65 6d 45 72 72 |cript.pu|t memErr|
|00004ee0| 6f 72 53 63 72 69 70 74 | 28 66 69 6c 65 4e 61 6d |orScript|(fileNam|
|00004ef0| 65 29 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |e) & ret|urn afte|
|00004f00| 72 20 74 68 65 53 63 72 | 69 70 74 0d 65 6c 73 65 |r theScr|ipt.else|
|00004f10| 20 69 66 20 66 69 6c 65 | 54 79 70 65 20 69 73 20 | if file|Type is |
|00004f20| 22 64 6f 63 75 6d 65 6e | 74 22 20 74 68 65 6e 0d |"documen|t" then.|
|00004f30| 70 75 74 20 22 6f 70 65 | 6e 22 20 26 26 20 71 75 |put "ope|n" && qu|
|00004f40| 6f 74 65 20 26 20 66 69 | 6c 65 4e 61 6d 65 20 26 |ote & fi|leName &|
|00004f50| 20 71 75 6f 74 65 20 c2 | 0d 26 26 20 22 77 69 74 | quote .|.&& "wit|
|00004f60| 68 22 20 26 26 20 71 75 | 6f 74 65 20 26 20 61 70 |h" && qu|ote & ap|
|00004f70| 70 6c 4e 61 6d 65 20 26 | 20 71 75 6f 74 65 20 26 |plName &| quote &|
|00004f80| 20 72 65 74 75 72 6e 20 | 61 66 74 65 72 20 74 68 | return |after th|
|00004f90| 65 53 63 72 69 70 74 0d | 70 75 74 20 6d 65 6d 45 |eScript.|put memE|
|00004fa0| 72 72 6f 72 53 63 72 69 | 70 74 28 61 70 70 6c 4e |rrorScri|pt(applN|
|00004fb0| 61 6d 65 29 20 26 20 72 | 65 74 75 72 6e 20 61 66 |ame) & r|eturn af|
|00004fc0| 74 65 72 20 74 68 65 53 | 63 72 69 70 74 0d 65 6e |ter theS|cript.en|
|00004fd0| 64 20 69 66 0d 70 75 74 | 20 22 65 6e 64 20 6d 6f |d if.put| "end mo|
|00004fe0| 75 73 65 55 70 22 20 61 | 66 74 65 72 20 74 68 65 |useUp" a|fter the|
|00004ff0| 53 63 72 69 70 74 0d 72 | 65 74 75 72 6e 20 74 68 |Script.r|eturn th|
|00005000| 65 53 63 72 69 70 74 0d | 65 6e 64 20 77 72 69 74 |eScript.|end writ|
|00005010| 65 48 43 53 63 72 69 70 | 74 0d 0d 6f 6e 20 64 72 |eHCScrip|t..on dr|
|00005020| 61 67 48 43 42 75 74 74 | 6f 6e 20 74 68 65 42 75 |agHCButt|on theBu|
|00005030| 74 74 6f 6e 0d 2d 2d 20 | 20 c6 20 6c 65 74 20 75 |tton.-- | . let u|
|00005040| 73 65 72 20 64 72 61 67 | 20 74 68 65 20 62 75 74 |ser drag| the but|
|00005050| 74 6f 6e 20 77 69 74 68 | 69 6e 20 74 68 65 20 63 |ton with|in the c|
|00005060| 61 72 64 20 77 69 6e 64 | 6f 77 0d 70 75 74 20 22 |ard wind|ow.put "|
|00005070| 44 72 61 67 20 74 68 65 | 20 62 75 74 74 6f 6e 20 |Drag the| button |
|00005080| 74 6f 20 74 68 65 20 64 | 65 73 69 72 65 64 20 6c |to the d|esired l|
|00005090| 6f 63 61 74 69 6f 6e 2e | 22 0d 2d 2d 20 20 66 6c |ocation.|".-- fl|
|000050a0| 61 73 68 20 62 75 74 74 | 6f 6e 20 75 6e 74 69 6c |ash butt|on until|
|000050b0| 20 75 73 65 72 20 63 6c | 69 63 6b 73 20 64 6f 77 | user cl|icks dow|
|000050c0| 6e 20 6f 6e 20 69 74 0d | 73 65 74 20 63 75 72 73 |n on it.|set curs|
|000050d0| 6f 72 20 74 6f 20 61 72 | 72 6f 77 0d 72 65 70 65 |or to ar|row.repe|
|000050e0| 61 74 20 75 6e 74 69 6c | 20 74 68 65 20 6d 6f 75 |at until| the mou|
|000050f0| 73 65 20 69 73 20 64 6f | 77 6e 0d 73 65 74 20 68 |se is do|wn.set h|
|00005100| 69 6c 69 74 65 20 6f 66 | 20 74 68 65 42 75 74 74 |ilite of| theButt|
|00005110| 6f 6e 20 74 6f 20 6e 6f | 74 20 68 69 6c 69 74 65 |on to no|t hilite|
|00005120| 20 6f 66 20 74 68 65 42 | 75 74 74 6f 6e 0d 77 61 | of theB|utton.wa|
|00005130| 69 74 20 38 20 2d 2d 20 | 38 2f 36 30 20 6f 66 20 |it 8 -- |8/60 of |
|00005140| 61 20 73 65 63 6f 6e 64 | 0d 65 6e 64 20 72 65 70 |a second|.end rep|
|00005150| 65 61 74 0d 73 65 74 20 | 68 69 6c 69 74 65 20 6f |eat.set |hilite o|
|00005160| 66 20 74 68 65 42 75 74 | 74 6f 6e 20 74 6f 20 74 |f theBut|ton to t|
|00005170| 72 75 65 0d 2d 2d 20 20 | 64 72 61 67 20 74 68 65 |rue.-- |drag the|
|00005180| 20 62 75 74 74 6f 6e 20 | 62 75 74 20 63 6f 6e 73 | button |but cons|
|00005190| 74 72 61 69 6e 20 74 6f | 20 63 61 72 64 20 77 69 |train to| card wi|
|000051a0| 6e 64 6f 77 0d 70 75 74 | 20 77 69 64 74 68 20 6f |ndow.put| width o|
|000051b0| 66 20 74 68 65 42 75 74 | 74 6f 6e 20 64 69 76 20 |f theBut|ton div |
|000051c0| 32 20 69 6e 74 6f 20 68 | 61 6c 66 42 74 6e 57 69 |2 into h|alfBtnWi|
|000051d0| 64 74 68 0d 70 75 74 20 | 77 69 64 74 68 20 6f 66 |dth.put |width of|
|000051e0| 20 63 61 72 64 20 77 69 | 6e 64 6f 77 20 2d 20 68 | card wi|ndow - h|
|000051f0| 61 6c 66 42 74 6e 57 69 | 64 74 68 20 69 6e 74 6f |alfBtnWi|dth into|
|00005200| 20 6d 61 78 57 69 64 74 | 68 0d 70 75 74 20 68 65 | maxWidt|h.put he|
|00005210| 69 67 68 74 20 6f 66 20 | 74 68 65 42 75 74 74 6f |ight of |theButto|
|00005220| 6e 20 64 69 76 20 32 20 | 69 6e 74 6f 20 68 61 6c |n div 2 |into hal|
|00005230| 66 42 74 6e 48 65 69 67 | 68 74 0d 70 75 74 20 68 |fBtnHeig|ht.put h|
|00005240| 65 69 67 68 74 20 6f 66 | 20 63 61 72 64 20 77 69 |eight of| card wi|
|00005250| 6e 64 6f 77 20 2d 20 68 | 61 6c 66 42 74 6e 48 65 |ndow - h|alfBtnHe|
|00005260| 69 67 68 74 20 69 6e 74 | 6f 20 6d 61 78 48 65 69 |ight int|o maxHei|
|00005270| 67 68 74 0d 72 65 70 65 | 61 74 20 77 68 69 6c 65 |ght.repe|at while|
|00005280| 20 74 68 65 20 6d 6f 75 | 73 65 20 69 73 20 64 6f | the mou|se is do|
|00005290| 77 6e 0d 2d 2d 20 74 68 | 65 20 68 6f 72 7a 0d 70 |wn.-- th|e horz.p|
|000052a0| 75 74 20 6d 61 78 28 74 | 68 65 20 6d 6f 75 73 65 |ut max(t|he mouse|
|000052b0| 48 2c 68 61 6c 66 42 74 | 6e 57 69 64 74 68 29 20 |H,halfBt|nWidth) |
|000052c0| 69 6e 74 6f 20 62 74 6e | 48 0d 70 75 74 20 6d 69 |into btn|H.put mi|
|000052d0| 6e 28 62 74 6e 48 2c 6d | 61 78 57 69 64 74 68 29 |n(btnH,m|axWidth)|
|000052e0| 20 69 6e 74 6f 20 62 74 | 6e 48 0d 2d 2d 20 74 68 | into bt|nH.-- th|
|000052f0| 65 20 76 65 72 74 0d 70 | 75 74 20 6d 61 78 28 74 |e vert.p|ut max(t|
|00005300| 68 65 20 6d 6f 75 73 65 | 56 2c 68 61 6c 66 42 74 |he mouse|V,halfBt|
|00005310| 6e 48 65 69 67 68 74 29 | 20 69 6e 74 6f 20 62 74 |nHeight)| into bt|
|00005320| 6e 56 0d 70 75 74 20 6d | 69 6e 28 62 74 6e 56 2c |nV.put m|in(btnV,|
|00005330| 6d 61 78 48 65 69 67 68 | 74 29 20 69 6e 74 6f 20 |maxHeigh|t) into |
|00005340| 62 74 6e 56 0d 73 65 74 | 20 6c 6f 63 20 6f 66 20 |btnV.set| loc of |
|00005350| 74 68 65 42 75 74 74 6f | 6e 20 74 6f 20 62 74 6e |theButto|n to btn|
|00005360| 48 2c 62 74 6e 56 0d 65 | 6e 64 20 72 65 70 65 61 |H,btnV.e|nd repea|
|00005370| 74 0d 73 65 74 20 68 69 | 6c 69 74 65 20 6f 66 20 |t.set hi|lite of |
|00005380| 74 68 65 42 75 74 74 6f | 6e 20 74 6f 20 66 61 6c |theButto|n to fal|
|00005390| 73 65 0d 65 6e 64 20 64 | 72 61 67 48 43 42 75 74 |se.end d|ragHCBut|
|000053a0| 74 6f 6e 0d 0d 6f 6e 20 | 75 70 64 61 74 65 48 43 |ton..on |updateHC|
|000053b0| 50 61 74 68 73 20 66 69 | 6c 65 54 79 70 65 2c 74 |Paths fi|leType,t|
|000053c0| 68 65 50 61 74 68 0d 2d | 2d 20 75 70 64 61 74 65 |hePath.-|- update|
|000053d0| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|000053e0| 20 70 61 74 68 20 63 61 | 72 64 20 66 6f 72 20 74 | path ca|rd for t|
|000053f0| 68 65 20 6e 65 77 6c 79 | 20 63 72 65 61 74 65 64 |he newly| created|
|00005400| 20 62 75 74 74 6f 6e 0d | 67 6c 6f 62 61 6c 20 53 | button.|global S|
|00005410| 74 61 63 6b 73 2c 41 70 | 70 6c 69 63 61 74 69 6f |tacks,Ap|plicatio|
|00005420| 6e 73 2c 44 6f 63 75 6d | 65 6e 74 73 0d 70 75 74 |ns,Docum|ents.put|
|00005430| 20 22 73 22 20 61 66 74 | 65 72 20 66 69 6c 65 54 | "s" aft|er fileT|
|00005440| 79 70 65 20 20 2d 2d 20 | 20 73 6f 20 69 74 20 77 |ype -- | so it w|
|00005450| 69 6c 6c 20 6d 61 74 63 | 68 20 63 61 72 64 20 26 |ill matc|h card &|
|00005460| 20 67 6c 6f 62 61 6c 20 | 6e 61 6d 65 0d 64 6f 20 | global |name.do |
|00005470| 22 67 65 74 22 20 26 26 | 20 66 69 6c 65 54 79 70 |"get" &&| fileTyp|
|00005480| 65 20 2d 2d 20 20 70 75 | 74 20 74 68 65 20 61 70 |e -- pu|t the ap|
|00005490| 70 72 6f 70 72 69 61 74 | 65 20 67 6c 6f 62 61 6c |propriat|e global|
|000054a0| 20 69 6e 74 6f 20 22 69 | 74 22 0d 2d 2d 20 20 65 | into "i|t".-- e|
|000054b0| 78 69 74 20 74 68 69 73 | 20 68 61 6e 64 6c 65 72 |xit this| handler|
|000054c0| 20 69 66 20 74 68 65 20 | 67 6c 6f 62 61 6c 20 61 | if the |global a|
|000054d0| 6c 72 65 61 64 79 20 63 | 6f 6e 74 61 69 6e 73 20 |lready c|ontains |
|000054e0| 74 68 65 20 70 61 74 68 | 0d 69 66 20 73 74 72 69 |the path|.if stri|
|000054f0| 6e 67 49 73 49 6e 43 6f | 6e 74 61 69 6e 65 72 28 |ngIsInCo|ntainer(|
|00005500| 74 68 65 50 61 74 68 2c | 69 74 29 20 74 68 65 6e |thePath,|it) then|
|00005510| 20 65 78 69 74 20 75 70 | 64 61 74 65 48 43 50 61 | exit up|dateHCPa|
|00005520| 74 68 73 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |ths.lock| screen.|
|00005530| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |set curs|or to wa|
|00005540| 74 63 68 0d 73 65 74 20 | 6c 6f 63 6b 6d 65 73 73 |tch.set |lockmess|
|00005550| 61 67 65 73 20 74 6f 20 | 74 72 75 65 20 2d 2d 20 |ages to |true -- |
|00005560| 61 76 6f 69 64 20 6f 70 | 65 6e 20 6d 65 73 73 61 |avoid op|en messa|
|00005570| 67 65 73 0d 73 65 74 20 | 6c 6f 63 6b 72 65 63 65 |ges.set |lockrece|
|00005580| 6e 74 20 74 6f 20 74 72 | 75 65 20 2d 2d 20 64 6f |nt to tr|ue -- do|
|00005590| 6e 27 74 20 6d 61 6b 65 | 20 61 6e 79 20 63 61 72 |n't make| any car|
|000055a0| 64 20 6d 69 6e 69 61 74 | 75 72 65 73 0d 70 75 73 |d miniat|ures.pus|
|000055b0| 68 20 63 61 72 64 20 2d | 2d 20 72 65 6d 65 6d 62 |h card -|- rememb|
|000055c0| 65 72 20 77 68 65 72 65 | 20 77 65 20 61 72 65 0d |er where| we are.|
|000055d0| 2d 2d 20 67 6f 20 74 6f | 20 74 68 65 20 63 6f 72 |-- go to| the cor|
|000055e0| 72 65 63 74 20 70 61 74 | 68 20 63 61 72 64 20 69 |rect pat|h card i|
|000055f0| 6e 20 74 68 65 20 68 6f | 6d 65 20 73 74 61 63 6b |n the ho|me stack|
|00005600| 0d 67 6f 20 63 61 72 64 | 20 66 69 6c 65 54 79 70 |.go card| fileTyp|
|00005610| 65 20 6f 66 20 73 74 61 | 63 6b 20 22 48 6f 6d 65 |e of sta|ck "Home|
|00005620| 22 0d 2d 2d 20 20 75 70 | 64 61 74 65 20 74 68 65 |".-- up|date the|
|00005630| 20 22 50 61 74 68 73 22 | 20 66 69 65 6c 64 20 77 | "Paths"| field w|
|00005640| 69 74 68 20 74 68 65 20 | 6e 65 77 20 70 61 74 68 |ith the |new path|
|00005650| 0d 67 65 74 20 62 67 20 | 66 69 65 6c 64 20 22 50 |.get bg |field "P|
|00005660| 61 74 68 73 22 20 6f 66 | 20 63 61 72 64 20 66 69 |aths" of| card fi|
|00005670| 6c 65 54 79 70 65 0d 69 | 66 20 28 69 74 20 ad 20 |leType.i|f (it . |
|00005680| 65 6d 70 74 79 29 20 61 | 6e 64 20 28 74 68 65 20 |empty) a|nd (the |
|00005690| 6c 61 73 74 20 63 68 61 | 72 20 6f 66 20 69 74 20 |last cha|r of it |
|000056a0| ad 20 72 65 74 75 72 6e | 29 0d 74 68 65 6e 20 70 |. return|).then p|
|000056b0| 75 74 20 72 65 74 75 72 | 6e 20 62 65 66 6f 72 65 |ut retur|n before|
|000056c0| 20 74 68 65 50 61 74 68 | 0d 70 75 74 20 74 68 65 | thePath|.put the|
|000056d0| 50 61 74 68 20 61 66 74 | 65 72 20 62 67 20 66 69 |Path aft|er bg fi|
|000056e0| 65 6c 64 20 22 50 61 74 | 68 73 22 20 6f 66 20 63 |eld "Pat|hs" of c|
|000056f0| 61 72 64 20 66 69 6c 65 | 54 79 70 65 0d 2d 2d 20 |ard file|Type.-- |
|00005700| 63 61 75 73 65 20 74 68 | 65 20 61 70 70 72 6f 70 |cause th|e approp|
|00005710| 72 69 61 74 65 20 67 6c | 6f 62 61 6c 20 76 61 72 |riate gl|obal var|
|00005720| 69 61 62 6c 65 20 74 6f | 20 62 65 20 75 70 64 61 |iable to| be upda|
|00005730| 74 65 64 0d 64 6f 20 22 | 70 75 74 20 62 67 20 66 |ted.do "|put bg f|
|00005740| 69 65 6c 64 20 50 61 74 | 68 73 20 69 6e 74 6f 22 |ield Pat|hs into"|
|00005750| 20 26 26 20 66 69 6c 65 | 54 79 70 65 0d 70 6f 70 | && file|Type.pop|
|00005760| 20 63 61 72 64 20 2d 2d | 20 72 65 74 75 72 6e 20 | card --| return |
|00005770| 74 6f 20 77 68 65 72 65 | 20 77 65 20 77 65 72 65 |to where| we were|
|00005780| 0d 65 6e 64 20 75 70 64 | 61 74 65 48 43 50 61 74 |.end upd|ateHCPat|
|00005790| 68 73 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 73 74 72 |hs..func|tion str|
|000057a0| 69 6e 67 49 73 49 6e 43 | 6f 6e 74 61 69 6e 65 72 |ingIsInC|ontainer|
|000057b0| 20 74 68 65 53 74 72 69 | 6e 67 2c 74 68 65 43 6f | theStri|ng,theCo|
|000057c0| 6e 74 61 69 6e 65 72 0d | 2d 2d 20 20 63 68 65 63 |ntainer.|-- chec|
|000057d0| 6b 20 74 6f 20 73 65 65 | 20 69 66 20 74 68 65 53 |k to see| if theS|
|000057e0| 74 72 69 6e 67 20 69 73 | 20 61 20 66 75 6c 6c 20 |tring is| a full |
|000057f0| 6c 69 6e 65 20 6f 66 20 | 74 68 65 43 6f 6e 74 61 |line of |theConta|
|00005800| 69 6e 65 72 0d 69 66 20 | 28 74 68 65 53 74 72 69 |iner.if |(theStri|
|00005810| 6e 67 20 3d 20 66 69 72 | 73 74 20 6c 69 6e 65 20 |ng = fir|st line |
|00005820| 6f 66 20 74 68 65 43 6f | 6e 74 61 69 6e 65 72 29 |of theCo|ntainer)|
|00005830| 20 6f 72 20 c2 0d 28 74 | 68 65 53 74 72 69 6e 67 | or ..(t|heString|
|00005840| 20 3d 20 6c 61 73 74 20 | 6c 69 6e 65 20 6f 66 20 | = last |line of |
|00005850| 74 68 65 43 6f 6e 74 61 | 69 6e 65 72 29 20 74 68 |theConta|iner) th|
|00005860| 65 6e 20 72 65 74 75 72 | 6e 20 74 72 75 65 0d 65 |en retur|n true.e|
|00005870| 6c 73 65 20 69 66 20 74 | 68 65 43 6f 6e 74 61 69 |lse if t|heContai|
|00005880| 6e 65 72 20 63 6f 6e 74 | 61 69 6e 73 20 72 65 74 |ner cont|ains ret|
|00005890| 75 72 6e 20 26 20 74 68 | 65 53 74 72 69 6e 67 20 |urn & th|eString |
|000058a0| 26 20 72 65 74 75 72 6e | 20 c2 0d 74 68 65 6e 20 |& return| ..then |
|000058b0| 72 65 74 75 72 6e 20 74 | 72 75 65 0d 2d 2d 20 6e |return t|rue.-- n|
|000058c0| 6f 74 20 66 6f 75 6e 64 | 2c 20 73 6f 20 72 65 74 |ot found|, so ret|
|000058d0| 75 72 6e 20 66 61 6c 73 | 65 0d 72 65 74 75 72 6e |urn fals|e.return|
|000058e0| 20 66 61 6c 73 65 0d 65 | 6e 64 20 73 74 72 69 6e | false.e|nd strin|
|000058f0| 67 49 73 49 6e 43 6f 6e | 74 61 69 6e 65 72 0d 0d |gIsInCon|tainer..|
|00005900| 2d 2d 2d 2d 2d 20 20 46 | 6f 6e 74 20 41 64 6a 75 |----- F|ont Adju|
|00005910| 73 74 6d 65 6e 74 20 53 | 63 72 69 70 74 73 3a 20 |stment S|cripts: |
|00005920| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00005930| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005940| 2d 2d 2d 0d 0d 66 75 6e | 63 74 69 6f 6e 20 63 68 |---..fun|ction ch|
|00005950| 65 63 6b 48 43 46 6f 6e | 74 20 74 68 65 46 6f 6e |eckHCFon|t theFon|
|00005960| 74 2c 70 6f 69 6e 74 53 | 69 7a 65 73 0d 2d 2d 20 |t,pointS|izes.-- |
|00005970| 52 65 71 75 69 72 65 73 | 20 58 46 43 4e 3a 20 46 |Requires| XFCN: F|
|00005980| 6f 6e 74 45 78 69 73 74 | 73 0d 2d 2d 20 72 65 74 |ontExist|s.-- ret|
|00005990| 75 72 6e 73 20 61 20 6c | 69 73 74 20 6f 66 20 66 |urns a l|ist of f|
|000059a0| 6f 6e 74 20 73 69 7a 65 | 73 20 6e 65 65 64 65 64 |ont size|s needed|
|000059b0| 20 62 75 74 20 6e 6f 74 | 20 69 6e 20 74 68 65 20 | but not| in the |
|000059c0| 73 79 73 74 65 6d 0d 70 | 75 74 20 65 6d 70 74 79 |system.p|ut empty|
|000059d0| 20 69 6e 74 6f 20 6d 69 | 73 73 69 6e 67 0d 2d 2d | into mi|ssing.--|
|000059e0| 20 73 74 65 70 73 20 74 | 68 72 6f 75 67 68 20 65 | steps t|hrough e|
|000059f0| 61 63 68 20 70 6f 69 6e | 74 20 73 69 7a 65 20 70 |ach poin|t size p|
|00005a00| 61 73 73 65 64 20 69 6e | 0d 72 65 70 65 61 74 20 |assed in|.repeat |
|00005a10| 77 69 74 68 20 63 6f 75 | 6e 74 20 3d 20 31 20 74 |with cou|nt = 1 t|
|00005a20| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00005a30| 69 74 65 6d 73 20 69 6e | 20 70 6f 69 6e 74 53 69 |items in| pointSi|
|00005a40| 7a 65 73 0d 70 75 74 20 | 69 74 65 6d 20 63 6f 75 |zes.put |item cou|
|00005a50| 6e 74 20 6f 66 20 70 6f | 69 6e 74 53 69 7a 65 73 |nt of po|intSizes|
|00005a60| 20 69 6e 74 6f 20 74 68 | 65 43 75 72 72 65 6e 74 | into th|eCurrent|
|00005a70| 50 74 53 69 7a 65 0d 69 | 66 20 6e 6f 74 20 46 6f |PtSize.i|f not Fo|
|00005a80| 6e 74 45 78 69 73 74 73 | 28 74 68 65 46 6f 6e 74 |ntExists|(theFont|
|00005a90| 2c 74 68 65 43 75 72 72 | 65 6e 74 50 74 53 69 7a |,theCurr|entPtSiz|
|00005aa0| 65 29 20 2d 2d 20 69 66 | 20 63 61 6e 27 74 20 66 |e) -- if| can't f|
|00005ab0| 69 6e 64 20 69 74 0d 74 | 68 65 6e 20 70 75 74 20 |ind it.t|hen put |
|00005ac0| 74 68 65 43 75 72 72 65 | 6e 74 50 74 53 69 7a 65 |theCurre|ntPtSize|
|00005ad0| 20 69 6e 74 6f 20 6c 61 | 73 74 20 69 74 65 6d 20 | into la|st item |
|00005ae0| 6f 66 20 6d 69 73 73 69 | 6e 67 0d 65 6e 64 20 72 |of missi|ng.end r|
|00005af0| 65 70 65 61 74 0d 69 66 | 20 6d 69 73 73 69 6e 67 |epeat.if| missing|
|00005b00| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00005b10| 65 6e 0d 70 75 74 20 74 | 68 65 46 6f 6e 74 20 26 |en.put t|heFont &|
|00005b20| 20 73 70 61 63 65 20 62 | 65 66 6f 72 65 20 6d 69 | space b|efore mi|
|00005b30| 73 73 69 6e 67 0d 70 75 | 74 20 72 65 74 75 72 6e |ssing.pu|t return|
|00005b40| 20 61 66 74 65 72 20 6d | 69 73 73 69 6e 67 0d 65 | after m|issing.e|
|00005b50| 6e 64 20 69 66 0d 72 65 | 74 75 72 6e 20 6d 69 73 |nd if.re|turn mis|
|00005b60| 73 69 6e 67 0d 65 6e 64 | 20 63 68 65 63 6b 48 43 |sing.end| checkHC|
|00005b70| 46 6f 6e 74 0d 0d 6f 6e | 20 63 68 65 63 6b 46 6f |Font..on| checkFo|
|00005b80| 72 4d 69 73 73 69 6e 67 | 46 6f 6e 74 73 0d 2d 2d |rMissing|Fonts.--|
|00005b90| 20 52 65 71 75 69 72 65 | 73 20 68 61 6e 64 6c 65 | Require|s handle|
|00005ba0| 72 3a 20 63 68 65 63 6b | 48 43 46 6f 6e 74 0d 2d |r: check|HCFont.-|
|00005bb0| 2d 20 63 68 65 63 6b 20 | 74 6f 20 73 65 65 20 69 |- check |to see i|
|00005bc0| 66 20 74 68 65 20 66 6f | 6e 74 73 20 6e 65 65 64 |f the fo|nts need|
|00005bd0| 65 64 20 66 6f 72 20 74 | 68 65 20 73 74 61 63 6b |ed for t|he stack|
|00005be0| 73 20 61 72 65 0d 2d 2d | 20 69 6e 73 74 61 6c 6c |s are.--| install|
|00005bf0| 65 64 20 69 6e 20 74 68 | 65 20 73 79 73 74 65 6d |ed in th|e system|
|00005c00| 2e 20 49 6e 66 6f 72 6d | 20 74 68 65 20 75 73 65 |. Inform| the use|
|00005c10| 72 20 69 66 20 74 68 65 | 79 27 72 65 20 6e 6f 74 |r if the|y're not|
|00005c20| 2e 0d 67 65 74 20 63 68 | 65 63 6b 48 43 46 6f 6e |..get ch|eckHCFon|
|00005c30| 74 28 22 43 6f 75 72 69 | 65 72 22 2c 22 31 30 2c |t("Couri|er","10,|
|00005c40| 31 32 22 29 20 26 20 63 | 68 65 63 6b 48 43 46 6f |12") & c|heckHCFo|
|00005c50| 6e 74 28 22 47 65 6e 65 | 76 61 22 2c 22 31 30 2c |nt("Gene|va","10,|
|00005c60| 31 34 22 29 20 26 20 c2 | 0d 63 68 65 63 6b 48 43 |14") & .|.checkHC|
|00005c70| 46 6f 6e 74 28 22 50 61 | 6c 61 74 69 6e 6f 22 2c |Font("Pa|latino",|
|00005c80| 22 31 30 2c 31 32 2c 31 | 34 2c 31 38 2c 32 34 22 |"10,12,1|4,18,24"|
|00005c90| 29 20 26 20 c2 0d 63 68 | 65 63 6b 48 43 46 6f 6e |) & ..ch|eckHCFon|
|00005ca0| 74 28 22 48 65 6c 76 65 | 74 69 63 61 22 2c 22 31 |t("Helve|tica","1|
|00005cb0| 38 2c 32 34 22 29 20 2d | 2d 20 74 68 65 73 65 20 |8,24") -|- these |
|00005cc0| 61 72 65 20 66 6f 6e 74 | 73 20 6e 65 65 64 65 64 |are font|s needed|
|00005cd0| 20 62 79 20 74 68 69 73 | 20 73 74 61 63 6b 0d 69 | by this| stack.i|
|00005ce0| 66 20 69 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |f it is |empty th|
|00005cf0| 65 6e 20 65 78 69 74 20 | 63 68 65 63 6b 46 6f 72 |en exit |checkFor|
|00005d00| 4d 69 73 73 69 6e 67 46 | 6f 6e 74 73 0d 65 6c 73 |MissingF|onts.els|
|00005d10| 65 20 70 75 74 20 69 74 | 20 69 6e 74 6f 20 6d 69 |e put it| into mi|
|00005d20| 73 73 69 6e 67 46 6f 6e | 74 73 0d 62 65 65 70 20 |ssingFon|ts.beep |
|00005d30| 31 0d 2d 2d 20 c6 20 74 | 68 69 73 20 64 69 61 6c |1.-- . t|his dial|
|00005d40| 6f 67 20 69 6e 66 6f 72 | 6d 73 20 74 68 65 20 75 |og infor|ms the u|
|00005d50| 73 65 72 20 77 68 69 63 | 68 20 66 6f 6e 74 73 20 |ser whic|h fonts |
|00005d60| 61 72 65 20 6d 69 73 73 | 69 6e 67 0d 61 6e 73 77 |are miss|ing.answ|
|00005d70| 65 72 20 22 54 68 65 73 | 65 20 66 6f 6e 74 28 73 |er "Thes|e font(s|
|00005d80| 29 20 61 72 65 20 6d 69 | 73 73 69 6e 67 20 66 72 |) are mi|ssing fr|
|00005d90| 6f 6d 20 79 6f 75 72 20 | 73 79 73 74 65 6d 3a 22 |om your |system:"|
|00005da0| 20 26 20 c2 0d 72 65 74 | 75 72 6e 20 26 20 72 65 | & ..ret|urn & re|
|00005db0| 74 75 72 6e 20 26 20 6d | 69 73 73 69 6e 67 46 6f |turn & m|issingFo|
|00005dc0| 6e 74 73 20 26 20 72 65 | 74 75 72 6e 20 26 20 c2 |nts & re|turn & .|
|00005dd0| 0d 22 46 6f 72 20 74 65 | 78 74 20 74 6f 20 64 69 |."For te|xt to di|
|00005de0| 73 70 6c 61 79 20 63 6f | 72 72 65 63 74 6c 79 20 |splay co|rrectly |
|00005df0| 69 6e 20 74 68 65 20 73 | 74 61 63 6b 73 2c 20 6d |in the s|tacks, m|
|00005e00| 61 6b 65 20 73 75 72 65 | 20 79 6f 75 20 68 61 76 |ake sure| you hav|
|00005e10| 65 22 20 c2 0d 26 26 20 | 22 69 6e 73 74 61 6c 6c |e" ..&& |"install|
|00005e20| 65 64 20 74 68 65 20 66 | 6f 6e 74 73 20 69 6e 63 |ed the f|onts inc|
|00005e30| 6c 75 64 65 64 20 77 69 | 74 68 20 48 79 70 65 72 |luded wi|th Hyper|
|00005e40| 43 61 72 64 2e 22 0d 65 | 6e 64 20 63 68 65 63 6b |Card.".e|nd check|
|00005e50| 46 6f 72 4d 69 73 73 69 | 6e 67 46 6f 6e 74 73 00 |ForMissi|ngFonts.|
|00005e60| 20 66 6f 6e 74 73 20 69 | 6e 63 6c 75 64 65 64 20 | fonts i|ncluded |
|00005e70| 77 69 74 68 20 48 79 70 | 65 72 43 61 72 64 2e 22 |with Hyp|erCard."|
|00005e80| 0d 65 6e 64 20 63 68 65 | 63 6b 46 6f 72 4d 69 73 |.end che|ckForMis|
|00005e90| 73 69 6e 67 46 6f 6e 74 | 73 00 22 2c 22 31 38 2c |singFont|s.","18,|
|00005ea0| 32 34 22 29 20 2d 2d 20 | 74 68 65 73 65 20 61 72 |24") -- |these ar|
|00005eb0| 65 20 66 6f 6e 74 73 20 | 6e 65 65 64 65 64 20 62 |e fonts |needed b|
|00005ec0| 79 20 74 68 69 73 20 73 | 74 61 63 6b 0d 69 66 20 |y this s|tack.if |
|00005ed0| 69 74 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e |it is em|pty then|
|00005ee0| 20 65 78 69 74 20 63 68 | 65 63 6b 46 6f 72 4d 69 | exit ch|eckForMi|
|00005ef0| 73 73 69 6e 67 46 6f 6e | 74 73 0d 65 6c 73 65 20 |ssingFon|ts.else |
|00005f00| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 6d 69 73 73 |put it i|nto miss|
|00005f10| 69 6e 67 46 6f 6e 74 73 | 0d 62 65 65 70 20 31 0d |ingFonts|.beep 1.|
|00005f20| 2d 2d 20 c6 20 74 68 69 | 73 20 64 69 61 6c 6f 67 |-- . thi|s dialog|
|00005f30| 20 69 6e 66 6f 72 6d 73 | 20 74 68 65 20 75 73 65 | informs| the use|
|00005f40| 72 20 77 68 69 63 68 20 | 66 6f 6e 74 73 20 61 72 |r which |fonts ar|
|00005f50| 65 20 6d 69 73 73 69 6e | 67 0d 61 6e 73 77 65 72 |e missin|g.answer|
|00005f60| 20 22 54 68 65 73 65 20 | 66 6f 6e 74 28 73 29 20 | "These |font(s) |
|00005f70| 61 72 65 20 6d 69 73 73 | 69 6e 67 20 66 72 6f 6d |are miss|ing from|
|00005f80| 20 79 6f 75 72 20 73 79 | 73 74 65 6d 3a 22 20 26 | your sy|stem:" &|
|00005f90| 20 c2 0d 72 65 74 75 72 | 6e 20 26 20 72 65 74 75 | ..retur|n & retu|
|00005fa0| 72 6e 20 26 20 6d 69 73 | 73 69 6e 67 46 6f 6e 74 |rn & mis|singFont|
|00005fb0| 73 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |s & retu|rn & .."|
|00005fc0| 46 6f 72 20 74 65 78 74 | 20 74 6f 20 64 69 73 70 |For text| to disp|
|00005fd0| 6c 61 79 20 63 6f 72 72 | 65 63 74 6c 79 20 69 6e |lay corr|ectly in|
|00005fe0| 20 74 68 65 20 73 74 61 | 63 6b 73 2c 20 6d 61 6b | the sta|cks, mak|
|00005ff0| 65 20 73 75 72 65 20 79 | 6f 75 20 68 61 76 65 22 |e sure y|ou have"|
|00006000| 20 c2 0d 26 26 20 22 69 | 6e 73 74 61 6c 6c 65 64 | ..&& "i|nstalled|
|00006010| 20 74 68 65 20 66 6f 6e | 74 73 20 69 6e 63 6c 75 | the fon|ts inclu|
|00006020| 64 65 64 20 77 69 74 68 | 20 48 79 70 65 72 43 61 |ded with| HyperCa|
|00006030| 72 64 2e 22 0d 65 6e 64 | 20 63 68 65 63 6b 46 6f |rd.".end| checkFo|
|00006040| 72 4d 69 73 73 69 6e 67 | 46 6f 6e 74 73 00 65 74 |rMissing|Fonts.et|
|00006050| 75 72 6e 20 26 20 72 65 | 74 75 72 6e 20 26 20 6d |urn & re|turn & m|
|00006060| 69 73 73 69 6e 67 46 6f | 6e 74 73 20 26 20 72 65 |issingFo|nts & re|
|00006070| 74 75 72 6e 20 26 20 c2 | 0d 22 46 6f 72 20 74 65 |turn & .|."For te|
|00006080| 78 74 20 74 6f 20 64 69 | 73 70 6c 61 79 20 63 6f |xt to di|splay co|
|00006090| 72 72 65 63 74 6c 79 20 | 69 6e 20 74 68 65 20 73 |rrectly |in the s|
|000060a0| 74 61 63 6b 73 2c 20 6d | 61 6b 65 20 73 75 72 65 |tacks, m|ake sure|
|000060b0| 20 79 6f 75 20 68 61 76 | 65 22 20 c2 0d 26 26 20 | you hav|e" ..&& |
|000060c0| 22 69 6e 73 74 61 6c 6c | 65 64 20 74 68 65 20 66 |"install|ed the f|
|000060d0| 6f 6e 74 73 20 69 6e 63 | 6c 75 64 65 64 20 77 69 |onts inc|luded wi|
|000060e0| 74 68 20 48 79 70 65 72 | 43 61 72 64 2e 22 0d 65 |th Hyper|Card.".e|
|000060f0| 6e 64 20 63 68 65 63 6b | 46 6f 72 4d 69 73 73 69 |nd check|ForMissi|
|00006100| 6e 67 46 6f 6e 74 73 00 | 65 76 61 22 2c 22 31 30 |ngFonts.|eva","10|
|00006110| 2c 31 34 22 29 20 26 20 | c2 0d 63 68 65 63 6b 48 |,14") & |..checkH|
|00006120| 43 46 6f 6e 74 28 22 50 | 61 6c 61 74 69 6e 6f 22 |CFont("P|alatino"|
|00006130| 2c 22 31 30 2c 31 32 2c | 31 34 2c 31 38 2c 32 34 |,"10,12,|14,18,24|
|00006140| 22 29 20 26 20 c2 0d 63 | 68 65 63 6b 48 43 46 6f |") & ..c|heckHCFo|
|00006150| 6e 74 28 22 48 65 6c 76 | 65 74 69 63 61 22 2c 22 |nt("Helv|etica","|
|00006160| 31 38 2c 32 34 22 29 20 | 2d 2d 20 74 68 65 73 65 |18,24") |-- these|
|00006170| 20 61 72 65 20 66 6f 6e | 74 73 20 6e 65 65 64 65 | are fon|ts neede|
|00006180| 64 20 62 79 20 74 68 69 | 73 20 73 74 61 63 6b 0d |d by thi|s stack.|
|00006190| 69 66 20 69 74 20 69 73 | 20 65 6d 70 74 79 20 74 |if it is| empty t|
|000061a0| 68 65 6e 20 65 78 69 74 | 20 63 68 65 63 6b 46 6f |hen exit| checkFo|
|000061b0| 72 4d 69 73 73 69 6e 67 | 46 6f 6e 74 73 0d 65 6c |rMissing|Fonts.el|
|000061c0| 73 65 20 70 75 74 20 69 | 74 20 69 6e 74 6f 20 6d |se put i|t into m|
|000061d0| 69 73 73 69 6e 67 46 6f | 6e 74 73 0d 62 65 65 70 |issingFo|nts.beep|
|000061e0| 20 31 0d 2d 2d 20 c6 20 | 74 68 69 73 20 64 69 61 | 1.-- . |this dia|
|000061f0| 6c 6f 67 20 69 6e 66 6f | 72 6d 73 20 74 68 65 20 |log info|rms the |
|00006200| 75 73 65 72 20 77 68 69 | 63 68 20 66 6f 6e 74 73 |user whi|ch fonts|
|00006210| 20 61 72 65 20 6d 69 73 | 73 69 6e 67 0d 61 6e 73 | are mis|sing.ans|
|00006220| 77 65 72 20 22 54 68 65 | 73 65 20 66 6f 6e 74 28 |wer "The|se font(|
|00006230| 73 29 20 61 72 65 20 6d | 69 73 73 69 6e 67 20 66 |s) are m|issing f|
|00006240| 72 6f 6d 20 79 6f 75 72 | 20 73 79 73 74 65 6d 3a |rom your| system:|
|00006250| 22 20 26 20 c2 0d 72 65 | 74 75 72 6e 20 26 20 72 |" & ..re|turn & r|
|00006260| 65 74 75 72 6e 20 26 20 | 6d 69 73 73 69 6e 67 46 |eturn & |missingF|
|00006270| 6f 6e 74 73 20 26 20 72 | 65 74 75 72 6e 20 26 20 |onts & r|eturn & |
|00006280| c2 0d 22 46 6f 72 20 74 | 65 78 74 20 74 6f 20 64 |.."For t|ext to d|
|00006290| 69 73 70 6c 61 79 20 63 | 6f 72 72 65 63 74 6c 79 |isplay c|orrectly|
|000062a0| 20 69 6e 20 74 68 65 20 | 73 74 61 63 6b 73 2c 20 | in the |stacks, |
|000062b0| 6d 61 6b 65 20 73 75 72 | 65 20 79 6f 75 20 68 61 |make sur|e you ha|
|000062c0| 76 65 22 20 c2 0d 26 26 | 20 22 69 6e 73 74 61 6c |ve" ..&&| "instal|
|000062d0| 6c 65 64 20 74 68 65 20 | 66 6f 6e 74 73 20 69 6e |led the |fonts in|
|000062e0| 63 6c 75 64 65 64 20 77 | 69 74 68 20 48 79 70 65 |cluded w|ith Hype|
|000062f0| 72 43 61 72 64 2e 22 0d | 65 6e 64 20 63 68 65 63 |rCard.".|end chec|
|00006300| 6b 46 6f 72 4d 69 73 73 | 69 6e 67 46 6f 6e 74 73 |kForMiss|ingFonts|
|00006310| 00 73 73 69 6e 67 46 6f | 6e 74 73 20 26 20 72 65 |.ssingFo|nts & re|
|00006320| 74 75 72 6e 20 26 20 c2 | 0d 22 46 6f 72 20 74 65 |turn & .|."For te|
|00006330| 78 74 20 74 6f 20 64 69 | 73 70 6c 61 79 20 63 6f |xt to di|splay co|
|00006340| 72 72 65 63 74 6c 79 20 | 69 6e 20 74 68 65 20 73 |rrectly |in the s|
|00006350| 74 61 63 6b 73 2c 20 6d | 61 6b 65 20 73 75 72 65 |tacks, m|ake sure|
|00006360| 20 79 6f 75 20 68 61 76 | 65 22 20 c2 0d 26 26 20 | you hav|e" ..&& |
|00006370| 22 69 6e 73 74 61 6c 6c | 65 64 20 74 68 65 20 66 |"install|ed the f|
|00006380| 6f 6e 74 73 20 69 6e 63 | 6c 75 64 65 64 20 77 69 |onts inc|luded wi|
|00006390| 74 68 20 48 79 70 65 72 | 43 61 72 64 2e 22 0d 65 |th Hyper|Card.".e|
|000063a0| 6e 64 20 63 68 65 63 6b | 46 6f 72 4d 69 73 73 69 |nd check|ForMissi|
|000063b0| 6e 67 46 6f 6e 74 73 00 | 00 00 00 00 00 00 00 00 |ngFonts.|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.